public abstract class NFMethodPropertyProvider extends NFPropertyProvider implements INFMixedPropertyProvider
Constructor and Description |
---|
NFMethodPropertyProvider(INFPropertyProvider parent)
Create a new provider.
|
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
addMethodNFProperty(MethodInfo method,
INFProperty<?,?> nfprop)
Add a non-functional property.
|
IFuture<String[]> |
getMethodNFAllPropertyNames(MethodInfo method)
Returns the names of all non-functional properties of this method.
|
IFuture<INFPropertyMetaInfo> |
getMethodNFPropertyMetaInfo(MethodInfo method,
String name)
Returns the meta information about a non-functional property of the specified method.
|
IFuture<Map<MethodInfo,Map<String,INFPropertyMetaInfo>>> |
getMethodNFPropertyMetaInfos()
Returns meta information about a non-functional properties of all methods.
|
IFuture<Map<String,INFPropertyMetaInfo>> |
getMethodNFPropertyMetaInfos(MethodInfo method)
Returns meta information about a non-functional properties of a method.
|
IFuture<String[]> |
getMethodNFPropertyNames(MethodInfo method)
Returns the names of all non-functional properties of the specified method.
|
<T> IFuture<T> |
getMethodNFPropertyValue(MethodInfo method,
String name)
Returns the current value of a non-functional property of the specified method.
|
<T,U> IFuture<T> |
getMethodNFPropertyValue(MethodInfo method,
String name,
U unit)
Returns the current value of a non-functional property of the specified method, performs unit conversion.
|
IFuture<Void> |
removeMethodNFProperty(MethodInfo method,
String name)
Remove a non-functional property.
|
IFuture<Void> |
shutdownNFPropertyProvider()
Shutdown the provider.
|
addNFProperty, getInternalAccess, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, getParent, removeNFProperty, setParent
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, removeNFProperty
public NFMethodPropertyProvider(INFPropertyProvider parent)
public IFuture<Map<MethodInfo,Map<String,INFPropertyMetaInfo>>> getMethodNFPropertyMetaInfos()
getMethodNFPropertyMetaInfos
in interface INFMethodPropertyProvider
public IFuture<Map<String,INFPropertyMetaInfo>> getMethodNFPropertyMetaInfos(MethodInfo method)
getMethodNFPropertyMetaInfos
in interface INFMethodPropertyProvider
public IFuture<String[]> getMethodNFPropertyNames(MethodInfo method)
getMethodNFPropertyNames
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.public IFuture<String[]> getMethodNFAllPropertyNames(MethodInfo method)
getMethodNFAllPropertyNames
in interface INFMethodPropertyProvider
public IFuture<INFPropertyMetaInfo> getMethodNFPropertyMetaInfo(MethodInfo method, 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, 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, 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<Void> addMethodNFProperty(MethodInfo method, INFProperty<?,?> nfprop)
addMethodNFProperty
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.nfprop
- The property.public IFuture<Void> removeMethodNFProperty(MethodInfo method, String name)
removeMethodNFProperty
in interface INFMethodPropertyProvider
method
- The method targeted by this operation.The
- name.public IFuture<Void> shutdownNFPropertyProvider()
shutdownNFPropertyProvider
in interface INFMethodPropertyProvider
shutdownNFPropertyProvider
in interface INFPropertyProvider
shutdownNFPropertyProvider
in class NFPropertyProvider
Copyright © 2013. All Rights Reserved.