public class TagProperty extends AbstractNFProperty<java.util.Collection<java.lang.String>,java.lang.Void>
INFProperty.Target
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARGUMENT
The argument constant.
|
protected IInternalAccess |
component
The component.
|
static java.lang.String |
JADEX_VERSION |
static java.lang.String |
NAME
The name of the property.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
params
The parameters.
|
static java.lang.String |
PLATFORM_NAME |
metainfo
Constructor and Description |
---|
TagProperty(IInternalAccess comp,
IService service,
MethodInfo method,
java.util.Map<java.lang.String,java.lang.Object> params)
Creates the property.
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Collection<java.lang.String> |
convertToCollection(java.lang.Object obj)
Convert user defined tag(s) to collection.
|
static java.util.Collection<java.lang.String> |
createRuntimeTags(java.lang.Object vals,
IExternalAccess component)
Create a collection of tags and replace the variable values.
|
IFuture<java.util.Collection<java.lang.String>> |
getValue(java.lang.Void unit)
Returns the current value of the property, performs unit conversion if necessary.
|
createProperty, dispose, getMetaInfo, getName, getValue, readNFProperties
public static final java.lang.String NAME
public static final java.lang.String ARGUMENT
public static final java.lang.String PLATFORM_NAME
public static final java.lang.String JADEX_VERSION
protected IInternalAccess component
protected java.util.Map<java.lang.String,java.lang.Object> params
public TagProperty(IInternalAccess comp, IService service, MethodInfo method, java.util.Map<java.lang.String,java.lang.Object> params)
public IFuture<java.util.Collection<java.lang.String>> getValue(java.lang.Void unit)
unit
- Unit of the returned value.protected static java.util.Collection<java.lang.String> convertToCollection(java.lang.Object obj)
public static java.util.Collection<java.lang.String> createRuntimeTags(java.lang.Object vals, IExternalAccess component)