Package gov.nasa.jpl.resource
Class BooleanResource
- All Implemented Interfaces:
ResourceContainer
-
Field Summary
Fields inherited from class gov.nasa.jpl.resource.Resource
interpolation, maximum, minimum, possibleStates, subsystem, units
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanResource
(Boolean profile, String subsystem) BooleanResource
(Boolean profile, String subsystem, String units) BooleanResource
(Boolean profile, String subsystem, String units, String interpolation) -
Method Summary
Methods inherited from class gov.nasa.jpl.resource.Resource
addChangeListener, clearHistory, currentval, firstTimeSet, formUniqueName, getChangesDuringWindow, getDataType, getIndices, getInterpolation, getMaximumLimit, getMinimumLimit, getName, getPossibleStates, getSize, getSubsystem, getType, getUniqueName, getUnits, historyIterator, insertRecord, isFrozen, isIndexInArrayedResource, lastTimeSet, lastValue, max, min, nextTimeResourceSetToValue, nextTimeSet, priorTimeResourceSetToValue, priorTimeSet, registerResource, removeChangeListener, resourceHistoryHasElements, set, setFrozen, setIndices, setInterpolation, setMaximumLimit, setMinimumLimit, setName, setSubsystem, setUnits, valueAt, whenEqualTo, whenGreaterThan, whenGreaterThanOrEqualTo, whenLessThan, whenLessThanOrEqualTo, whenNotEqualTo
-
Constructor Details
-
BooleanResource
-
BooleanResource
-
BooleanResource
-
BooleanResource
public BooleanResource()
-
-
Method Details
-
profile
Description copied from class:Resource
Returns the default value of the resource before it is set() to a new value. Must be abstract since different data types have different intuitive defaults. -
update
public void update()Description copied from class:Resource
No-op method that adapters can override in custom resources- Specified by:
update
in interfaceResourceContainer
- Overrides:
update
in classResource<Boolean>
-