Class ZestActionInvoke


  • public class ZestActionInvoke
    extends ZestAction
    The Class ZestActionPrint.
    • Constructor Detail

      • ZestActionInvoke

        public ZestActionInvoke()
        Instantiates a new zest action invoke.
      • ZestActionInvoke

        public ZestActionInvoke​(int index)
        Instantiates a new zest action invoke.
        Parameters:
        index - the index
      • ZestActionInvoke

        public ZestActionInvoke​(String script,
                                String variableName,
                                List<String[]> parameters)
        Instantiates a new zest action invoke.
        Parameters:
        script - the name of the script or process to invoke.
        variableName - the name of the variable to assign the result of the invocation.
        parameters - the parameters for the script or the process.
      • ZestActionInvoke

        public ZestActionInvoke​(String script,
                                String variableName,
                                List<String[]> parameters,
                                String charset)
        Constructs a ZestActionInvoke with the given data.
        Parameters:
        script - the name of the script or process to invoke.
        variableName - the name of the variable to assign the result of the invocation.
        parameters - the parameters for the script or the process.
        charset - the name of the charset used for read operations (for example, read the script or the output of the invoked program).
        Since:
        0.14.0
    • Method Detail

      • isSameSubclass

        public boolean isSameSubclass​(ZestElement ze)
        Description copied from class: ZestElement
        Checks if is same subclass.
        Overrides:
        isSameSubclass in class ZestAction
        Parameters:
        ze - the ze
        Returns:
        true, if is same subclass
      • getVariableName

        public String getVariableName()
      • setVariableName

        public void setVariableName​(String variableName)
      • getScript

        public String getScript()
      • setScript

        public void setScript​(String script)
      • getParameters

        public List<String[]> getParameters()
      • setParameters

        public void setParameters​(List<String[]> parameters)
      • getCharset

        public String getCharset()
        Gets the name of the charset used for read operations (for example, read the script from the file or the output of the invoked program).
        Returns:
        the name of the charset.
        Since:
        0.14.0
      • setCharset

        public void setCharset​(String charset)
        Sets the name of the charset used for read operations (for example, read the script from the file or the output of the invoked program).
        Parameters:
        charset - the name of the charset.
        Since:
        0.14.0
      • isPassive

        public boolean isPassive()
        Description copied from class: ZestStatement
        Checks if is passive.
        Specified by:
        isPassive in class ZestStatement
        Returns:
        true, if is passive