Package jadex.bridge.nonfunctional
Class NFRootProperty<T,U>
- java.lang.Object
-
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
-
- jadex.bridge.nonfunctional.SimpleValueNFProperty<T,U>
-
- jadex.bridge.nonfunctional.NFRootProperty<T,U>
-
- All Implemented Interfaces:
INFProperty<T,U>
- Direct Known Subclasses:
ComponentUptimeProperty
,CoreNumberProperty
,CPULoadProperty
,LoadedClassesProperty
,MacAddressProperty
,MemoryProperty
,ProxyLatencyProperty
public abstract class NFRootProperty<T,U> extends SimpleValueNFProperty<T,U>
Injects properties on root component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFProperty
INFProperty.Target
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
injected
The flag if the property has been injected to the root component.protected IExternalAccess
root
The root access.-
Fields inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
comp, value
-
Fields inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
metainfo
-
-
Constructor Summary
Constructors Constructor Description NFRootProperty(IInternalAccess comp, NFPropertyMetaInfo mi)
Create a new property.NFRootProperty(IInternalAccess comp, NFPropertyMetaInfo mi, boolean inject)
Create a new property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
dispose()
Property was removed and should be disposed.protected IFuture<java.lang.Void>
injectPropertyToRootComponent()
Inject the property to the root component.boolean
isInjected()
Get the injected.-
Methods inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
getComponent, getPrettyPrintValue, getValue, measureValue, setValue
-
Methods inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
createProperty, getMetaInfo, getName, getValue, readNFProperties
-
-
-
-
Field Detail
-
root
protected IExternalAccess root
The root access.
-
injected
protected boolean injected
The flag if the property has been injected to the root component.
-
-
Constructor Detail
-
NFRootProperty
public NFRootProperty(IInternalAccess comp, NFPropertyMetaInfo mi)
Create a new property.
-
NFRootProperty
public NFRootProperty(IInternalAccess comp, NFPropertyMetaInfo mi, boolean inject)
Create a new property.
-
-
Method Detail
-
injectPropertyToRootComponent
protected IFuture<java.lang.Void> injectPropertyToRootComponent()
Inject the property to the root component.
-
dispose
public IFuture<java.lang.Void> dispose()
Property was removed and should be disposed.- Specified by:
dispose
in interfaceINFProperty<T,U>
- Overrides:
dispose
in classAbstractNFProperty<T,U>
-
isInjected
public boolean isInjected()
Get the injected.- Returns:
- The injected.
-
-