Package wt.configuration
Class ConfigurationHelper
java.lang.Object
wt.configuration.ConfigurationHelper
- All Implemented Interfaces:
Externalizable,Serializable
Provides access to the
Supported API: true
Extendable: false
ConfigurationService Application Programming Interface (API)
via the static reference ConfigurationHelper.service and several helper methods.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetConfigSpecForConfiguration(BaselineConfigurationVersion configuration) Gets the config spec for this configuration.getConfigSpecForInstance(SerialNumberedConfiguredInstanceVersion instance, Timestamp date, boolean planningDate) Gets the config spec for this instance.getConfigSpecForInstance(SerialNumberedConfiguredInstanceVersion instance, State state) Gets the config spec for an instance.getConfigSpecForInstance(State state) Gets the config spec for an instance.static ConfiguredMastergetConfigurationFor(BaselineConfigurationVersion configuration) Gets the object this configuration is a configuration for.static StringReturns the actual incorporation as a range.Gets the object this instance is an instance of.
-
Field Details
-
service
Supported API: true
-
-
Method Details
-
getConfigurationFor
Gets the object this configuration is a configuration for.
Supported API: true- Parameters:
configuration-- Returns:
- ConfiguredMaster
-
getInstanceOf
public static SerialNumberedConfiguredMaster getInstanceOf(SerialNumberedConfiguredInstanceVersion instance) Gets the object this instance is an instance of.
Supported API: true- Parameters:
instance-- Returns:
- SerialNumberedConfiguredMaster
-
getConfigSpecForConfiguration
public static BaselineConfigurationConfigSpec getConfigSpecForConfiguration(BaselineConfigurationVersion configuration) throws WTPropertyVetoException Gets the config spec for this configuration.
Supported API: true- Parameters:
configuration-- Returns:
- BaselineConfigurationConfigSpec
- Throws:
WTPropertyVetoException
-
getConfigSpecForInstance
public static SerialNumberedConfiguredInstanceConfigSpec getConfigSpecForInstance(SerialNumberedConfiguredInstanceVersion instance, Timestamp date, boolean planningDate) throws WTPropertyVetoException Gets the config spec for this instance.
Supported API: true- Parameters:
instance-date-planningDate-- Returns:
- SerialNumberedConfiguredInstanceConfigSpec
- Throws:
WTPropertyVetoException
-
getConfigSpecForInstance
public static SerialNumberedConfiguredInstanceConfigSpec getConfigSpecForInstance(SerialNumberedConfiguredInstanceVersion instance, State state) throws WTPropertyVetoException Gets the config spec for an instance.
Supported API: true- Parameters:
instance-state-- Returns:
- SerialNumberedConfiguredInstanceConfigSpec
- Throws:
WTPropertyVetoException
-
getConfigSpecForInstance
public static SerialNumberedConfiguredInstanceConfigSpec getConfigSpecForInstance(State state) throws WTPropertyVetoException Gets the config spec for an instance.
Supported API: true- Parameters:
state-- Returns:
- SerialNumberedConfiguredInstanceConfigSpec
- Throws:
WTPropertyVetoException
-
getIncorporatedAsString
Returns the actual incorporation as a range.
Supported API: true- Parameters:
instance-- Returns:
- String
-