Class ArgumentDescriptor

java.lang.Object
ro.sync.ecss.extensions.api.ArgumentDescriptor

@API(type=EXTENDABLE, src=PUBLIC) public class ArgumentDescriptor extends Object
Descriptor class for an author operation argument.
  • Field Details

    • TYPE_STRING

      public static final int TYPE_STRING
      String argument type. The value is 0.
      See Also:
    • TYPE_FRAGMENT

      public static final int TYPE_FRAGMENT
      XML fragment argument type. It is represented as a String The value is 1.
      See Also:
    • TYPE_XPATH_EXPRESSION

      public static final int TYPE_XPATH_EXPRESSION
      Xpath expression argument type. It is represented as a String The value is 2.
      See Also:
    • TYPE_CONSTANT_LIST

      public static final int TYPE_CONSTANT_LIST
      List of constant strings argument type. The value is 3.
      See Also:
    • TYPE_SCRIPT

      public static final int TYPE_SCRIPT
      Script type (XSLT or XQuery). It is represented as a String The value is 4.
      See Also:
    • TYPE_JAVA_OBJECT

      public static final int TYPE_JAVA_OBJECT
      An argument of this type is a Java object represented as a Map. This Map is interpreted by the operation that receives it.
      See Also:
    • name

      protected String name
      The argument name.
    • type

      protected int type
    • description

      protected String description
      The string argument description.
    • allowedValues

      protected String[] allowedValues
      The array containing the allowed values for the arguments with type TYPE_CONSTANTS_LIST.
    • defaultValue

      protected String defaultValue
      The default value of the argument.
  • Constructor Details

  • Method Details