Class DtoSchedulingTaskResult
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoSchedulingTaskResult
- All Implemented Interfaces:
IDtoSchedulingTaskResult
returns the final production planning. Every Job in input is either produced in an allocation, unselected or disqualified.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoSchedulingTaskResult(IDtoAllocation[] allocations, IDtoAbstractJobDisqualification[] disqualifiedJobs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAllocations for all selected jobs that could be produced.Jobs that were selected for production, but could not be produced because some requirement could not be met.inthashCode()voidsetAllocations(IDtoAllocation[] allocations) Allocations for all selected jobs that could be produced.voidsetDisqualifiedJobs(IDtoAbstractJobDisqualification[] disqualifiedJobs) Jobs that were selected for production, but could not be produced because some requirement could not be met.withAllocations(IDtoAllocation[] allocations) Allocations for all selected jobs that could be produced.withDisqualifiedJobs(IDtoAbstractJobDisqualification[] disqualifiedJobs) Jobs that were selected for production, but could not be produced because some requirement could not be met.
-
Constructor Details
-
DtoSchedulingTaskResult
protected DtoSchedulingTaskResult() -
DtoSchedulingTaskResult
public DtoSchedulingTaskResult(IDtoAllocation[] allocations, IDtoAbstractJobDisqualification[] disqualifiedJobs)
-
-
Method Details
-
getAllocations
Allocations for all selected jobs that could be produced. (including fixedJobs, not including disqualifiedJobs)- Specified by:
getAllocationsin interfaceIDtoSchedulingTaskResult
-
setAllocations
Allocations for all selected jobs that could be produced. (including fixedJobs, not including disqualifiedJobs)- Specified by:
setAllocationsin interfaceIDtoSchedulingTaskResult
-
getDisqualifiedJobs
Jobs that were selected for production, but could not be produced because some requirement could not be met.- Specified by:
getDisqualifiedJobsin interfaceIDtoSchedulingTaskResult
-
setDisqualifiedJobs
Jobs that were selected for production, but could not be produced because some requirement could not be met.- Specified by:
setDisqualifiedJobsin interfaceIDtoSchedulingTaskResult
-
equals
-
hashCode
public int hashCode() -
withAllocations
Allocations for all selected jobs that could be produced. (including fixedJobs, not including disqualifiedJobs) -
withDisqualifiedJobs
public DtoSchedulingTaskResult withDisqualifiedJobs(IDtoAbstractJobDisqualification[] disqualifiedJobs) Jobs that were selected for production, but could not be produced because some requirement could not be met.
-