Class DtoOperatorAvailability
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoOperatorAvailability
- All Implemented Interfaces:
IDtoOperatorAvailability
A stretch of time when attention and or skills are made available to an operator.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoOperatorAvailability(String[] skills, Integer attention) -
Method Summary
Modifier and TypeMethodDescriptionbooleanTotal attention that the operator gains for this stretch of time.getEnd()...until this time (end greater than start).String[]List of skills that the operator gains for this stretch of time.getStart()From this time...inthashCode()voidsetAttention(Integer attention) Total attention that the operator gains for this stretch of time.void...until this time (end greater than start).voidList of skills that the operator gains for this stretch of time.voidFrom this time...withAttention(Integer attention) Total attention that the operator gains for this stretch of time....until this time (end greater than start).withSkills(String[] skills) List of skills that the operator gains for this stretch of time.From this time...
-
Constructor Details
-
DtoOperatorAvailability
protected DtoOperatorAvailability() -
DtoOperatorAvailability
-
-
Method Details
-
getStart
From this time... (end greater than start). Default is Timestamp::MIN- Specified by:
getStartin interfaceIDtoOperatorAvailability
-
setStart
From this time... (end greater than start). Default is Timestamp::MIN- Specified by:
setStartin interfaceIDtoOperatorAvailability
-
getEnd
...until this time (end greater than start). Default is Timestamp::MAX- Specified by:
getEndin interfaceIDtoOperatorAvailability
-
setEnd
...until this time (end greater than start). Default is Timestamp::MAX- Specified by:
setEndin interfaceIDtoOperatorAvailability
-
getSkills
List of skills that the operator gains for this stretch of time.- Specified by:
getSkillsin interfaceIDtoOperatorAvailability
-
setSkills
List of skills that the operator gains for this stretch of time.- Specified by:
setSkillsin interfaceIDtoOperatorAvailability
-
getAttention
Total attention that the operator gains for this stretch of time. (e.g. 200 if you want to group two identical operators with attention 100 into one).- Specified by:
getAttentionin interfaceIDtoOperatorAvailability
-
setAttention
Total attention that the operator gains for this stretch of time. (e.g. 200 if you want to group two identical operators with attention 100 into one).- Specified by:
setAttentionin interfaceIDtoOperatorAvailability
-
withStart
From this time... (end greater than start). Default is Timestamp::MIN -
withEnd
...until this time (end greater than start). Default is Timestamp::MAX -
withSkills
List of skills that the operator gains for this stretch of time. -
withAttention
Total attention that the operator gains for this stretch of time. (e.g. 200 if you want to group two identical operators with attention 100 into one). -
equals
-
hashCode
public int hashCode()
-