Constructor and Description |
---|
BeanshellAttributeOperation(PlugInContext context,
AttributeType type,
java.lang.String bshExpression) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.Object |
evaluate(BasicFeature f) |
java.lang.Object |
invoke(Feature feature) |
static java.lang.String |
normalizeVarName(java.lang.String s) |
java.lang.String |
toString() |
public BeanshellAttributeOperation(PlugInContext context, AttributeType type, java.lang.String bshExpression) throws bsh.EvalError
bsh.EvalError
public java.lang.Object invoke(Feature feature) throws java.lang.Exception
public java.lang.Object evaluate(BasicFeature f) throws bsh.EvalError, java.lang.NumberFormatException, java.lang.IllegalArgumentException, java.text.ParseException
bsh.EvalError
java.lang.NumberFormatException
java.lang.IllegalArgumentException
java.text.ParseException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public static java.lang.String normalizeVarName(java.lang.String s)