Package jadex.bridge.sensor.time
Class ComponentUptimeProperty
- java.lang.Object
-
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
-
- jadex.bridge.nonfunctional.SimpleValueNFProperty<T,U>
-
- jadex.bridge.nonfunctional.NFRootProperty<java.lang.Long,TimeUnit>
-
- jadex.bridge.sensor.time.ComponentUptimeProperty
-
- All Implemented Interfaces:
INFProperty<java.lang.Long,TimeUnit>
public class ComponentUptimeProperty extends NFRootProperty<java.lang.Long,TimeUnit>
Property for the startup of a component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFProperty
INFProperty.Target
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
The name of the property.-
Fields inherited from class jadex.bridge.nonfunctional.NFRootProperty
injected, root
-
Fields inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
comp, value
-
Fields inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
metainfo
-
-
Constructor Summary
Constructors Constructor Description ComponentUptimeProperty(IInternalAccess comp)
Create a new property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
measureValue()
Measure the value.-
Methods inherited from class jadex.bridge.nonfunctional.NFRootProperty
dispose, injectPropertyToRootComponent, isInjected
-
Methods inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
getComponent, getPrettyPrintValue, getValue, setValue
-
Methods inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
createProperty, getMetaInfo, getName, getValue, readNFProperties
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
The name of the property.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ComponentUptimeProperty
public ComponentUptimeProperty(IInternalAccess comp)
Create a new property.
-
-
Method Detail
-
measureValue
public java.lang.Long measureValue()
Measure the value.- Specified by:
measureValue
in classSimpleValueNFProperty<java.lang.Long,TimeUnit>
-
-