public class NFMethodPropertyProvider extends NFPropertyProvider implements INFMixedPropertyProvider
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFProperty<?,?>>> |
methodnfproperties
Non-functional properties of methods.
|
component, nfproperties, parent
Constructor and Description |
---|
NFMethodPropertyProvider(IComponentIdentifier parent,
IInternalAccess component)
Create a new provider.
|
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
addMethodNFProperty(MethodInfo method,
INFProperty<?,?> nfprop)
Add a non-functional property.
|
IFuture<java.lang.String[]> |
getMethodNFAllPropertyNames(MethodInfo method)
Returns the names of all non-functional properties of this method.
|
IFuture<INFPropertyMetaInfo> |
getMethodNFPropertyMetaInfo(MethodInfo method,
java.lang.String name)
Returns the meta information about a non-functional property of the specified method.
|
IFuture<java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFPropertyMetaInfo>>> |
getMethodNFPropertyMetaInfos()
Returns meta information about a non-functional properties of all methods.
|
IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> |
getMethodNFPropertyMetaInfos(MethodInfo method)
Returns meta information about a non-functional properties of a method.
|
IFuture<java.lang.String[]> |
getMethodNFPropertyNames(MethodInfo method)
Returns the names of all non-functional properties of the specified method.
|
<T> IFuture<T> |
getMethodNFPropertyValue(MethodInfo method,
java.lang.String name)
Returns the current value of a non-functional property of the specified method.
|
<T,U> IFuture<T> |
getMethodNFPropertyValue(MethodInfo method,
java.lang.String name,
U unit)
Returns the current value of a non-functional property of the specified method, performs unit conversion.
|
IFuture<java.lang.Void> |
removeMethodNFProperty(MethodInfo method,
java.lang.String name)
Remove a non-functional property.
|
IFuture<java.lang.Void> |
shutdownNFPropertyProvider()
Shutdown the provider.
|
addNFProperty, getInternalAccess, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, getParentId, removeNFProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, removeNFProperty
protected java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFProperty<?,?>>> methodnfproperties
public NFMethodPropertyProvider(IComponentIdentifier parent, IInternalAccess component)
public IFuture<java.util.Map<MethodInfo,java.util.Map<java.lang.String,INFPropertyMetaInfo>>> getMethodNFPropertyMetaInfos()
getMethodNFPropertyMetaInfos
in interface INFMethodPropertyProvider
public IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getMethodNFPropertyMetaInfos(MethodInfo method)
getMethodNFPropertyMetaInfos
in interface INFMethodPropertyProvider
public IFuture<java.lang.String[]> getMethodNFPropertyNames(MethodInfo method)
getMethodNFPropertyNames
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.public IFuture<java.lang.String[]> getMethodNFAllPropertyNames(MethodInfo method)
getMethodNFAllPropertyNames
in interface INFMethodPropertyProvider
public IFuture<INFPropertyMetaInfo> getMethodNFPropertyMetaInfo(MethodInfo method, java.lang.String name)
getMethodNFPropertyMetaInfo
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.name
- Name of the property.public <T> IFuture<T> getMethodNFPropertyValue(MethodInfo method, java.lang.String name)
getMethodNFPropertyValue
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.name
- Name of the property.type
- Type of the property value.public <T,U> IFuture<T> getMethodNFPropertyValue(MethodInfo method, java.lang.String name, U unit)
getMethodNFPropertyValue
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.name
- Name of the property.type
- Type of the property value.unit
- Unit of the property value.public IFuture<java.lang.Void> addMethodNFProperty(MethodInfo method, INFProperty<?,?> nfprop)
addMethodNFProperty
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.nfprop
- The property.public IFuture<java.lang.Void> removeMethodNFProperty(MethodInfo method, java.lang.String name)
removeMethodNFProperty
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.The
- name.public IFuture<java.lang.Void> shutdownNFPropertyProvider()
shutdownNFPropertyProvider
in interface INFMethodPropertyProvider
shutdownNFPropertyProvider
in interface INFPropertyProvider
shutdownNFPropertyProvider
in class NFPropertyProvider