Package org.xwiki.rendering.macro.script
Class ScriptMacroParameters
- java.lang.Object
-
- org.xwiki.rendering.macro.script.ScriptMacroParameters
-
- Direct Known Subclasses:
JSR223ScriptMacroParameters
public class ScriptMacroParameters extends Object
Parameters for theAbstractScriptMacro
Macro.- Since:
- 1.7M3
- Version:
- $Id: b840ecb9b1d7189363f1dd57cd102b47200ddb15 $
-
-
Constructor Summary
Constructors Constructor Description ScriptMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJars()
boolean
isOutput()
boolean
isWiki()
void
setJars(String jarURLsAsString)
void
setOutput(boolean output)
void
setWiki(boolean wiki)
-
-
-
Method Detail
-
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
-
getJars
public String getJars()
- Returns:
- the list of JARs to be added to the script execution class loader, see
DefaultAttachmentClassLoaderFactory
for more details
-
-