Class VariableConfiguration.NodeReference
- java.lang.Object
-
- org.apache.manifoldcf.scriptengine.VariableConfiguration.NodeReference
-
- All Implemented Interfaces:
VariableReference
- Enclosing class:
- VariableConfiguration
protected class VariableConfiguration.NodeReference extends java.lang.Object implements VariableReference
Extend VariableReference class so we capture attempts to set the reference, and actually overwrite the child when that is done
-
-
Field Summary
Fields Modifier and Type Field Description protected int
index
-
Constructor Summary
Constructors Constructor Description NodeReference(int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNull()
Check if this reference is nullVariable
resolve()
Resolve the referencevoid
setReference(Variable v)
Set the reference
-
-
-
Method Detail
-
setReference
public void setReference(Variable v) throws ScriptException
Description copied from interface:VariableReference
Set the reference- Specified by:
setReference
in interfaceVariableReference
- Throws:
ScriptException
-
resolve
public Variable resolve() throws ScriptException
Description copied from interface:VariableReference
Resolve the reference- Specified by:
resolve
in interfaceVariableReference
- Throws:
ScriptException
-
isNull
public boolean isNull()
Check if this reference is null- Specified by:
isNull
in interfaceVariableReference
-
-