IBM WebSphere Application ServerTM
Release 8

com.ibm.task.api
Class CustomPropertyFactory

java.lang.Object
  extended by com.ibm.task.api.CustomPropertyFactory

public class CustomPropertyFactory
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
static java.lang.String COPYRIGHT
           
 
Method Summary
 CustomProperty createCustomProperty(java.lang.String propertyName, java.lang.String propertyValue)
          Creates a custom property object.
 InlineCustomProperty createInlineCustomProperty(java.lang.String propertyName, java.lang.String propertyValue)
          Creates an inline custom property object.
static 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
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.

IBM WebSphere Application ServerTM
Release 8