Class DtoDeviceReservation
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoDeviceReservation
- All Implemented Interfaces:
IDtoDeviceReservation
A strech of time where a device must interrupt (i.e. pause) the currently executing setup, run or teardown of the current task. Only interruptible processes / fixedJobs may be allocated in a way that overlaps a DtoDeviceReservation. No special deviceState is required at this time; deviceState is not changed during this time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnd()End of the reservation (start smaller than end).getId()Unique identifier among all DtoDeviceReservationgetStart()Start of the reservation (start smaller than end).inthashCode()voidEnd of the reservation (start smaller than end).voidUnique identifier among all DtoDeviceReservationvoidStart of the reservation (start smaller than end).End of the reservation (start smaller than end).Unique identifier among all DtoDeviceReservationStart of the reservation (start smaller than end).
-
Constructor Details
-
DtoDeviceReservation
protected DtoDeviceReservation() -
DtoDeviceReservation
-
-
Method Details
-
getId
Unique identifier among all DtoDeviceReservation- Specified by:
getIdin interfaceIDtoDeviceReservation
-
setId
Unique identifier among all DtoDeviceReservation- Specified by:
setIdin interfaceIDtoDeviceReservation
-
getStart
Start of the reservation (start smaller than end). Default is Timestamp::MIN- Specified by:
getStartin interfaceIDtoDeviceReservation
-
setStart
Start of the reservation (start smaller than end). Default is Timestamp::MIN- Specified by:
setStartin interfaceIDtoDeviceReservation
-
getEnd
End of the reservation (start smaller than end). Default is Timestamp::MAX- Specified by:
getEndin interfaceIDtoDeviceReservation
-
setEnd
End of the reservation (start smaller than end). Default is Timestamp::MAX- Specified by:
setEndin interfaceIDtoDeviceReservation
-
equals
-
hashCode
public int hashCode() -
withId
Unique identifier among all DtoDeviceReservation -
withStart
Start of the reservation (start smaller than end). Default is Timestamp::MIN -
withEnd
End of the reservation (start smaller than end). Default is Timestamp::MAX
-