@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Goal
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
clazz
The goal class.
|
Deliberation |
deliberation
The deliberation settings.
|
MProcessableElement.ExcludeMode |
excludemode
When to exclude a plan from the APL after it has been executed.
|
boolean |
orsuccess
Should a procedural goal succeed when first plan executed successfully
or after all plans have been executed (with at least one passed plan).
|
boolean |
posttoall
Post the goal to all plans of the APL in parallel.
|
Publish |
publish
The publication settings.
|
boolean |
randomselection
Select a plan randomly.
|
boolean |
rebuild
Rebuild the APL on each retry;
|
boolean |
recur
The recur flag.
|
long |
recurdelay
The recur delay.
|
boolean |
retry
The retry flag.
|
long |
retrydelay
The retry delay.
|
java.lang.Class<?>[] |
triggergoals
The goal trigger.
|
boolean |
unique
Should the goal be unique (no other goal is allowed that is the same).
|
public abstract java.lang.Class<?> clazz
public abstract boolean posttoall
public abstract MProcessableElement.ExcludeMode excludemode
public abstract boolean retry
public abstract boolean recur
public abstract boolean orsuccess
public abstract boolean unique
public abstract Deliberation deliberation
public abstract Publish publish