Package tethys.deployment
Class RecordingPeriod
java.lang.Object
tethys.deployment.RecordingPeriod
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a gap in the recording period.clone()
long
long
long
boolean
void
setDutyCycleInfo
(DutyCycleInfo dutyCycleInfo) void
setMatchedTethysDeployment
(PDeployment closestDeployment) void
setRecordStart
(long recordStart) void
setRecordStop
(long recordStop) void
setSelected
(boolean selected) boolean
toggle the selected statetoString()
-
Constructor Details
-
Method Details
-
getRecordStart
public long getRecordStart() -
setRecordStart
public void setRecordStart(long recordStart) -
getRecordStop
public long getRecordStop() -
setRecordStop
public void setRecordStop(long recordStop) -
getDuration
public long getDuration() -
getMatchedTethysDeployment
-
setMatchedTethysDeployment
-
isSelected
public boolean isSelected()- Returns:
- the selected
-
setSelected
public void setSelected(boolean selected) - Parameters:
selected
- the selected to set
-
toggleSelected
public boolean toggleSelected()toggle the selected state- Returns:
- the new state
-
toString
-
clone
-
addRecordingGap
Add a gap in the recording period.- Parameters:
gap
-
-
getRecordingGaps
- Returns:
- the recordingGaps
-
getDutyCycleInfo
- Returns:
- the dutyCycleInfo
-
setDutyCycleInfo
- Parameters:
dutyCycleInfo
- the dutyCycleInfo to set
-