Class ContextVariableReference
- java.lang.Object
-
- org.apache.manifoldcf.scriptengine.ContextVariableReference
-
- All Implemented Interfaces:
VariableReference
public class ContextVariableReference extends java.lang.Object implements VariableReference
Overwritable variable references from within a context.
-
-
Constructor Summary
Constructors Constructor Description ContextVariableReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNull()Check if this reference is nullVariableresolve()Resolve the referencevoidsetReference(Variable object)Set the reference
-
-
-
Field Detail
-
variable
protected Variable variable
-
-
Method Detail
-
setReference
public void setReference(Variable object) throws ScriptException
Set the reference- Specified by:
setReferencein interfaceVariableReference- Throws:
ScriptException
-
resolve
public Variable resolve() throws ScriptException
Resolve the reference- Specified by:
resolvein interfaceVariableReference- Throws:
ScriptException
-
isNull
public boolean isNull()
Check if this reference is null- Specified by:
isNullin interfaceVariableReference
-
-