Class ScriptlerScript.DescriptorImpl

All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
ScriptlerScript

@Extension(optional=true) @Symbol("scriptlerScript") public static class ScriptlerScript.DescriptorImpl extends ScriptDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<AbstractScript>
    • getParameters

      @JavaScriptMethod public net.sf.json.JSONArray getParameters(String scriptlerScriptId)
      gets the argument description to be displayed on the screen when selecting a config in the dropdown
      Parameters:
      scriptlerScriptId - the config id to get the arguments description for
      Returns:
      the description