abstract class BuilderExpressionDynamic extends BuilderExpression
Class BuilderExpressionDynamic. Provides builderexpressiondynamic functionality for the Hytale server.
java.lang.Object > BuilderExpression > BuilderExpressionDynamic
Field Summary
jsonObject
final
JsonObject
jsonObject
Field jsonObject.
computeValue
final
JsonElement
computeValue
Field computeValue.
expression
final
String
expression
Field expression.
type
final
ValueType
type
Field type.
operand
final
ExecutionContext.Operand
operand
Field operand.
instructionSequence
final
ExecutionContext.Instruction[]
instructionSequence
Field instructionSequence.
s
final
ObjectSchema
s
Field s.
Method Detail
BuilderExpressionDynamic
public
public
BuilderExpressionDynamic
(final String expression, final ExecutionContext.Instruction[] instructionSequence)
Method BuilderExpressionDynamic.
- Parameters:
final Stringexpressionfinal ExecutionContext.Instruction[]instructionSequence
isStatic
public
boolean
isStatic
()
Method isStatic.
getExpression
public
String
getExpression
()
Method getExpression.
IllegalStateException
public
new
IllegalStateException
("Expression returned wrong type " + String.valueOf(executionContext.getType()
Method IllegalStateException.
- Parameters:
"Expression returned wrong type " +String.valueOf(executionContext.getType(
fromJSON
static
BuilderExpression
fromJSON
(@Nonnull final JsonElement jsonElement, @Nonnull final BuilderParameters builderParameters)
Method fromJSON.
- Parameters:
@Nonnull final JsonElementjsonElement@Nonnull final BuilderParametersbuilderParameters
IllegalArgumentException
public
new
IllegalArgumentException
("JSON expression missing 'Compute' member: " + String.valueOf(jsonElement)
Method IllegalArgumentException.
- Parameters:
"JSON expression missing 'Compute' member: " +String.valueOf(jsonElement
switch
public
return
switch
(type)
Method switch.
- Parameters:
typetype
StringSchema
public
new
StringSchema
()
Method StringSchema.