Package jadex.bridge.sensor.cpu
Class CoreNumberProperty
- java.lang.Object
-
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
-
- jadex.bridge.nonfunctional.SimpleValueNFProperty<T,U>
-
- jadex.bridge.nonfunctional.NFRootProperty<java.lang.Integer,java.lang.Void>
-
- jadex.bridge.sensor.cpu.CoreNumberProperty
-
- All Implemented Interfaces:
INFProperty<java.lang.Integer,java.lang.Void>
public class CoreNumberProperty extends NFRootProperty<java.lang.Integer,java.lang.Void>
The number of cores.
-
-
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 CoreNumberProperty(IInternalAccess comp)
Create a new property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
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
-
CoreNumberProperty
public CoreNumberProperty(IInternalAccess comp)
Create a new property.
-
-
Method Detail
-
measureValue
public java.lang.Integer measureValue()
Measure the value.- Specified by:
measureValue
in classSimpleValueNFProperty<java.lang.Integer,java.lang.Void>
-
-