public static enum FireResult.Type extends Enum<FireResult.Type>
| Enum Constant and Description |
|---|
CONTINUE
Element wasn't yet finished.
|
FAILED
The element is finished and it failed.
|
FOLLOW
Some child element is supposed to be evaluated.
|
FULFILLED
The element is finished and result is success.
|
SURFACE
Well, not many will use this I suppose, but move up in the stack,
something like return from function.
|
SURFACE_CONTINUE
E.g. surface (pop element on the stack), but also indicates that
execution should continue.
|
| Modifier and Type | Method and Description |
|---|---|
static FireResult.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FireResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FireResult.Type FULFILLED
public static final FireResult.Type FAILED
public static final FireResult.Type CONTINUE
public static final FireResult.Type FOLLOW
public static final FireResult.Type SURFACE
PoshEngine.evaluatePlan(cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor) returns any other value, the sposh logic controller will call
another round of PoshEngine.evaluatePlan(cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor)public static final FireResult.Type SURFACE_CONTINUE
public static FireResult.Type[] values()
for (FireResult.Type c : FireResult.Type.values()) System.out.println(c);
public static FireResult.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.