Class PropertyValue

All Implemented Interfaces:
HasHandlers

public class PropertyValue extends DataClass
Identifies a property name and value to be assigned to a component by the SetPropertiesTask.
  • Constructor Details

    • PropertyValue

      public PropertyValue()
    • PropertyValue

      public PropertyValue(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static PropertyValue getOrCreateRef(JavaScriptObject jsObj)
    • setName

      public PropertyValue setName(String name)
      Name of the property to be assigned the new value.
      Parameters:
      name - New name value. Default value is null
      Returns:
      PropertyValue instance, for chaining setter calls
    • getName

      public String getName()
      Name of the property to be assigned the new value.
      Returns:
      Current name value. Default value is null
    • setValue

      public PropertyValue setValue(Object value)
      Name of the property to be assigned the new value.

      A value prefixed with "$" will be treated as a TaskInputExpression excluding "$input" and "$inputRecord" references.

      Parameters:
      value - New value value. Default value is null
      Returns:
      PropertyValue instance, for chaining setter calls
    • getValue

      public Object getValue()
      Name of the property to be assigned the new value.

      A value prefixed with "$" will be treated as a TaskInputExpression excluding "$input" and "$inputRecord" references.

      Returns:
      Current value value. Default value is null