Class NewConfiguration
- java.lang.Object
-
- org.apache.manifoldcf.scriptengine.NewConfiguration
-
- All Implemented Interfaces:
NewOperation
public class NewConfiguration extends java.lang.Object implements NewOperation
Class defining the creation of a new VariableConfiguration object.
-
-
Constructor Summary
Constructors Constructor Description NewConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableReferenceparseAndCreate(ScriptParser sp, TokenStream currentStream)Parse and execute.voidparseAndSkip(ScriptParser sp, TokenStream currentStream)Parse and skip.
-
-
-
Method Detail
-
parseAndCreate
public VariableReference parseAndCreate(ScriptParser sp, TokenStream currentStream) throws ScriptException
Parse and execute. Parsing begins right after the "new" keyword and the operation name token.- Specified by:
parseAndCreatein interfaceNewOperation- Parameters:
sp- is the script parser to use to help in the parsing.currentStream- is the current token stream.- Returns:
- the variable reference that got created. Should never be null.
- Throws:
ScriptException
-
parseAndSkip
public void parseAndSkip(ScriptParser sp, TokenStream currentStream) throws ScriptException
Parse and skip. Parsing begins right after the "new" keyword and the operation name token.- Specified by:
parseAndSkipin interfaceNewOperation- Parameters:
sp- is the script parser to use to help in the parsing.currentStream- is the current token stream.- Throws:
ScriptException
-
-