com.ibm.task.api
Class CustomPropertyFactory
- java.lang.Object
com.ibm.task.api.CustomPropertyFactory
- public class CustomPropertyFactory
- extends java.lang.Object
Since:
6.2.0.2
Change History
Release | Modification |
---|---|
7.5.1 | Allows for the creation of inline custom properties. |
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
createCustomProperty(java.lang.String propertyName,java.lang.String propertyValue)
Creates a custom property object.
|
|
createInlineCustomProperty(java.lang.String propertyName,java.lang.String propertyValue)
Creates an inline custom property object.
|
|
|
newInstance()
Returns the single instance of a CustomPropertyFactory.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Method Detail
newInstance
- public static CustomPropertyFactory newInstance( )
Returns the single instance of a CustomPropertyFactory.
Returns:
CustomPropertyFactory
The CustomPropertyFactory object.
createCustomProperty
- public CustomProperty createCustomProperty( java.lang.String propertyName,
- java.lang.String propertyValue)
Creates a custom property object.
Parameters:
propertyName
- The name of the custom property. propertyValue
- The value of the custom property. Returns:
The custom property object.
createInlineCustomProperty
- public InlineCustomProperty createInlineCustomProperty( java.lang.String propertyName,
- java.lang.String propertyValue)
Creates an inline custom property object.
Parameters:
propertyName
- The name of the inline custom property.
The name must be one of the predefined names for inline custom properties - see
InlineCustomProperty.CUSTOM_TEXT_1 etc
. propertyValue
- The value of the custom property. Returns:
The inline custom property object.