com.ibm.task.api

Class CustomPropertyFactory

  1. java.lang.Object
  2. extended bycom.ibm.task.api.CustomPropertyFactory

  1. public class CustomPropertyFactory
  2. extends java.lang.Object
Factory to create a custom property or an inline custom property 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
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. CustomProperty
createCustomProperty(java.lang.String propertyName,java.lang.String propertyValue)
Creates a custom property object.
  1. InlineCustomProperty
createInlineCustomProperty(java.lang.String propertyName,java.lang.String propertyValue)
Creates an inline custom property object.
  1. static
  2. CustomPropertyFactory
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

  1. public static final java.lang.String COPYRIGHT
See Also:

Method Detail

newInstance

  1. public static CustomPropertyFactory newInstance( )
Returns the single instance of a CustomPropertyFactory.
Returns:
CustomPropertyFactory The CustomPropertyFactory object.

createCustomProperty

  1. public CustomProperty createCustomProperty( java.lang.String propertyName,
  2. 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

  1. public InlineCustomProperty createInlineCustomProperty( java.lang.String propertyName,
  2. 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.