Package tethys.deployment
Class RecordingPeriod
java.lang.Object
tethys.deployment.RecordingPeriod
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a gap in the recording period.clone()longlonglongbooleanvoidsetDutyCycleInfo(DutyCycleInfo dutyCycleInfo) voidsetMatchedTethysDeployment(PDeployment closestDeployment) voidsetRecordStart(long recordStart) voidsetRecordStop(long recordStop) voidsetSelected(boolean selected) booleantoggle the selected statetoString()
-
Constructor Details
-
RecordingPeriod
public RecordingPeriod(long recordStart, long recordStop)
-
-
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
-