Class ScriptActivityScriptBlock


  • public final class ScriptActivityScriptBlock
    extends Object
    Script block of scripts.
    • Constructor Detail

      • ScriptActivityScriptBlock

        public ScriptActivityScriptBlock()
    • Method Detail

      • text

        public Object text()
        Get the text property: The query text. Type: string (or Expression with resultType string).
        Returns:
        the text value.
      • withText

        public ScriptActivityScriptBlock withText​(Object text)
        Set the text property: The query text. Type: string (or Expression with resultType string).
        Parameters:
        text - the text value to set.
        Returns:
        the ScriptActivityScriptBlock object itself.
      • type

        public ScriptType type()
        Get the type property: The type of the query. Type: string.
        Returns:
        the type value.
      • withType

        public ScriptActivityScriptBlock withType​(ScriptType type)
        Set the type property: The type of the query. Type: string.
        Parameters:
        type - the type value to set.
        Returns:
        the ScriptActivityScriptBlock object itself.
      • parameters

        public List<ScriptActivityParameter> parameters()
        Get the parameters property: Array of script parameters. Type: array.
        Returns:
        the parameters value.
      • withParameters

        public ScriptActivityScriptBlock withParameters​(List<ScriptActivityParameter> parameters)
        Set the parameters property: Array of script parameters. Type: array.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the ScriptActivityScriptBlock object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.