Class ScriptMacroParameters

java.lang.Object
org.xwiki.rendering.macro.script.ScriptMacroParameters
Direct Known Subclasses:
JSR223ScriptMacroParameters

public class ScriptMacroParameters extends Object
Parameters for the AbstractScriptMacro Macro.
Since:
1.7M3
Version:
$Id: b840ecb9b1d7189363f1dd57cd102b47200ddb15 $
  • Constructor Details

    • ScriptMacroParameters

      public ScriptMacroParameters()
  • Method Details

    • setOutput

      public void setOutput(boolean output)
      Parameters:
      output - indicate the output result has to be inserted back in the document.
    • isOutput

      public boolean isOutput()
      Returns:
      indicate the output result has to be inserted back in the document.
    • setWiki

      public void setWiki(boolean wiki)
      Parameters:
      wiki - indicate if the result of the script execution has to be parsed by the current wiki parser. If not it's put in a verbatim block.
      Since:
      2.0M1
    • isWiki

      public boolean isWiki()
      Returns:
      indicate if the result of the script execution has to be parsed by the current wiki parser.
      Since:
      2.0M1
    • setJars

      public void setJars(String jarURLsAsString)
      Parameters:
      jarURLsAsString - see getJars()
    • getJars

      public String getJars()
      Returns:
      the list of JARs to be added to the script execution class loader, see DefaultAttachmentClassLoaderFactory for more details