Package org.xwiki.rendering.macro.script
Class ScriptMacroParameters
java.lang.Object
org.xwiki.rendering.macro.script.ScriptMacroParameters
- Direct Known Subclasses:
JSR223ScriptMacroParameters
Parameters for the
AbstractScriptMacro Macro.- Since:
- 1.7M3
- Version:
- $Id: b840ecb9b1d7189363f1dd57cd102b47200ddb15 $
-
Constructor Summary
Constructors -
Method Summary
-
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
- Parameters:
jarURLsAsString- seegetJars()
-
getJars
- Returns:
- the list of JARs to be added to the script execution class loader, see
DefaultAttachmentClassLoaderFactoryfor more details
-