Class InvokeAction

  • All Implemented Interfaces:
    SASConstants

    public class InvokeAction
    extends Action
    Invoke a specific method in the Executable implementation. This is to allow for back channel communication, so Executable.execute(Action) is the main entry point. An example would be QDL, where execute is used to simply forward the user's input to the interpreter, but invoke would call a workplace function for, e.g. populating the auto complete feature at startup.

    Created by Jeff Gaynor
    on 8/20/22 at 11:04 PM

    • Constructor Detail

      • InvokeAction

        public InvokeAction()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getArgs

        public net.sf.json.JSONArray getArgs()
      • setArgs

        public void setArgs​(net.sf.json.JSONArray args)
      • serialize

        public net.sf.json.JSONObject serialize()
        Description copied from class: Action
        Typically this is called by the Client during POST
        Overrides:
        serialize in class Action
        Returns:
      • deserialize

        public void deserialize​(net.sf.json.JSONObject json)
        Overrides:
        deserialize in class Action