Package jadex.extension.rs.publish
Class Value
- java.lang.Object
-
- jadex.extension.rs.publish.Value
-
public class Value extends java.lang.Object
Java class representation for the Value annotation as annotations cannot be created at runtime.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>
clazz
The class.protected java.lang.String
expression
The expression.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
evaluate(Value value, java.lang.String[] imports)
Evaluate a value.static java.lang.Object
evaluate(Value value, java.lang.String[] imports)
Evaluate a value.java.lang.Class<?>
getClazz()
Get the clazz.java.lang.String
getExpression()
Get the expression.
-
-
-
Method Detail
-
getExpression
public java.lang.String getExpression()
Get the expression.- Returns:
- the expression.
-
getClazz
public java.lang.Class<?> getClazz()
Get the clazz.- Returns:
- the clazz.
-
evaluate
public static java.lang.Object evaluate(Value value, java.lang.String[] imports) throws java.lang.Exception
Evaluate a value.- Throws:
java.lang.Exception
-
evaluate
public static java.lang.Object evaluate(Value value, java.lang.String[] imports) throws java.lang.Exception
Evaluate a value.- Throws:
java.lang.Exception
-
-