com.ibm.streams.management
Interface PropertyMetadata
-
public interface PropertyMetadataPropertyMetadata contains information about a configuration property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static classPropertyMetadata.ConstraintTypeEnumeration to identify limits to the property value.static classPropertyMetadata.UpdateTypeEnumeration to identify when an update to the property is performed.static classPropertyMetadata.ValueContentTypeEnumeration to identify the type of content contained in a metadata value.static classPropertyMetadata.ValueTypeEnumeration to identify the data type of the property value.
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringIBM_COPYRIGHTstatic java.lang.StringREPLACEMENT_PARAMETER_STREAMS_BASE_INSTALLREPLACEMENT_PARAMETER_STREAMS_BASE_INSTALL is a replacement value used in property values to identify the base installation path for the Streams code running for the domain.static java.lang.StringREPLACEMENT_PARAMETER_STREAMS_INSTALLREPLACEMENT_PARAMETER_STREAMS_INSTALL is a replacement value used in property values to identify the installation path for the version of Streams code running for the domain.static java.lang.StringREPLACEMENT_PARAMETER_STREAMS_RESOURCEREPLACEMENT_PARAMETER_STREAMS_RESOURCE is a replacement value used in property values to identify a resource where code relevant to the property retrieval, such as a Streams service or a PE, is running.static java.lang.StringREPLACEMENT_PARAMETER_USER_HOMEREPLACEMENT_PARAMETER_USER_HOME is a replacement value used in property values to identify the home directory of the user on whose behalf the request performing the property retrieval is being run.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetConstrainingRegularExpression()Returns the regular expression used to constrain property values.PropertyMetadata.ConstraintTypegetConstraintType()Returns the type of constraint that applies to the value of the property.PropertyMetadata.ValueContentTypegetDefaultContentType()Returns the content type of the default value.java.lang.StringgetDefaultValue()Returns information to determine the default property value.java.lang.StringgetDescription()Returns a description of the property.PropertyMetadata.ValueContentTypegetMaximumContentType()Returns the content type of the maximum value.java.lang.StringgetMaximumValue()Returns information to determine the maximum possible value for the property.PropertyMetadata.ValueContentTypegetMinimumContentType()Returns the content type of the minimum value.java.lang.StringgetMinimumValue()Returns information to determine the minimum possible value for the property.java.lang.StringgetName()Returns the name of the property.java.util.Set<java.lang.String>getPossibleValues()Returns the set of possible values for the property.PropertyMetadata.UpdateTypegetUpdateType()Returns an indicator describing when an update to the property is performed.booleangetValueHidden()Indicates whether the property value can be retrieved.PropertyMetadata.ValueTypegetValueType()Returns the data type of the property value.
-
-
-
Field Detail
-
IBM_COPYRIGHT
static final java.lang.String IBM_COPYRIGHT
- See Also:
- Constant Field Values
-
REPLACEMENT_PARAMETER_STREAMS_INSTALL
static final java.lang.String REPLACEMENT_PARAMETER_STREAMS_INSTALL
REPLACEMENT_PARAMETER_STREAMS_INSTALL is a replacement value used in property values to identify the installation path for the version of Streams code running for the domain. The value is "%STREAMS_INSTALL%".- See Also:
- Constant Field Values
-
REPLACEMENT_PARAMETER_STREAMS_BASE_INSTALL
static final java.lang.String REPLACEMENT_PARAMETER_STREAMS_BASE_INSTALL
REPLACEMENT_PARAMETER_STREAMS_BASE_INSTALL is a replacement value used in property values to identify the base installation path for the Streams code running for the domain. This excludes the version portion of the full installation path. The value is "%STREAMS_INSTALL_BASE%".- See Also:
- Constant Field Values
-
REPLACEMENT_PARAMETER_USER_HOME
static final java.lang.String REPLACEMENT_PARAMETER_USER_HOME
REPLACEMENT_PARAMETER_USER_HOME is a replacement value used in property values to identify the home directory of the user on whose behalf the request performing the property retrieval is being run. The value is "%STREAMS_USER_HOME%".- See Also:
- Constant Field Values
-
REPLACEMENT_PARAMETER_STREAMS_RESOURCE
static final java.lang.String REPLACEMENT_PARAMETER_STREAMS_RESOURCE
REPLACEMENT_PARAMETER_STREAMS_RESOURCE is a replacement value used in property values to identify a resource where code relevant to the property retrieval, such as a Streams service or a PE, is running. It is replaced with the resource identifier. The value is "%STREAMS_RESOURCE%".- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the property. This is the name thestreamtoolcommand uses to get and set the property value. This value can be converted to aPropertyIdby passing the value to eitherfromStringfor a domain property or tofromStringfor an instance property.- Returns:
- the property name.
-
getDescription
java.lang.String getDescription()
Returns a description of the property.- Returns:
- the property description.
-
getValueType
PropertyMetadata.ValueType getValueType()
Returns the data type of the property value.- Returns:
- the property value data type.
-
getDefaultContentType
PropertyMetadata.ValueContentType getDefaultContentType()
Returns the content type of the default value.- Returns:
- the default value content type.
-
getDefaultValue
java.lang.String getDefaultValue()
Returns information to determine the default property value. The value can be interpreted as follows:- If
DefaultContentTypeisCONSTANTthe default is identified by the constant value contained inDefaultValue. - If
DefaultContentTypeisDOMAIN_PROPERTY_NAMEthe default value is the current value of the domain property with the name specified inDefaultValue - If
DefaultContentTypeisINSTANCE_PROPERTY_NAMEthe default value is the current value of the instance property with the name specified inDefaultValue
The default value could contain substitution parameters. Possible substitution parameters are:
REPLACEMENT_PARAMETER_STREAMS_INSTALLREPLACEMENT_PARAMETER_STREAMS_BASE_INSTALLREPLACEMENT_PARAMETER_USER_HOME
- Returns:
- the property default.
- If
-
getUpdateType
PropertyMetadata.UpdateType getUpdateType()
Returns an indicator describing when an update to the property is performed.- Returns:
- the property update type.
-
getConstraintType
PropertyMetadata.ConstraintType getConstraintType()
Returns the type of constraint that applies to the value of the property.- Returns:
- the property value constraint type.
-
getPossibleValues
java.util.Set<java.lang.String> getPossibleValues()
Returns the set of possible values for the property. If theconstraint typeis notENUMERATIONan empty set is returned.- Returns:
- the set of possible property values.
-
getMinimumContentType
PropertyMetadata.ValueContentType getMinimumContentType()
Returns the content type of the minimum value. If theconstraint typeis notRANGEorGREATER_OR_EQUALCONSTANTis returned.- Returns:
- the minimum value content type.
-
getMinimumValue
java.lang.String getMinimumValue()
Returns information to determine the minimum possible value for the property. The value can be interpreted as follows:- If {link com.ibm.streams.management.PropertyMetadata#getMinimumContentType() MinimumContentType} is
CONSTANTthe minimum is identified by the constant value contained inMinimumValue. - If
MinimumContentTypeisDOMAIN_PROPERTY_NAMEthe minimum value is the current value of the domain property with the name specified inMinimumValue - If
MinimumContentTypeisINSTANCE_PROPERTY_NAMEthe minimum value is the current value of the instance property with the name specified inMinimumValue
constraint typeis notRANGEorGREATER_OR_EQUALnull is returned.- Returns:
- the minimum value identification information.
- If {link com.ibm.streams.management.PropertyMetadata#getMinimumContentType() MinimumContentType} is
-
getMaximumContentType
PropertyMetadata.ValueContentType getMaximumContentType()
Returns the content type of the maximum value. If theconstraint typeis notRANGEorLESS_OR_EQUALCONSTANTis returned.- Returns:
- the maximum value content type.
-
getMaximumValue
java.lang.String getMaximumValue()
Returns information to determine the maximum possible value for the property. The value can be interpreted as follows:- If
MaximumContentTypeisCONSTANTthe maximum is identified by the constant value contained inMaximumValue. - If
MaximumContentTypeisDOMAIN_PROPERTY_NAMEthe maximum value is the current value of the domain property with the name specified inMaximumValue - If
MaximumContentTypeisINSTANCE_PROPERTY_NAMEthe maximum value is the current value of the instance property with the name specified inMaximumValue
constraint typeis notRANGEorLESS_OR_EQUALnull is returned.- Returns:
- the maximum value identification information.
- If
-
getConstrainingRegularExpression
java.lang.String getConstrainingRegularExpression()
Returns the regular expression used to constrain property values. If theconstraint typeis notREGULAR_EXPRESSIONan empty string is returned.- Returns:
- the constraining regular expression.
-
getValueHidden
boolean getValueHidden()
Indicates whether the property value can be retrieved. If the value is true, the property value, default, and any pending value cannot be retrieved.- Returns:
- true if the property value cannot be retrieved.
-
-