@Target(value=TYPE)
 @Retention(value=RUNTIME)
public @interface Goal
| Modifier and Type | Optional Element and Description | 
|---|---|
| java.lang.Class<?> | clazzThe goal class. | 
| Deliberation | deliberationThe deliberation settings. | 
| MProcessableElement.ExcludeMode | excludemodeWhen to exclude a plan from the APL after it has been executed. | 
| boolean | orsuccessShould a procedural goal succeed when first plan executed successfully
  or after all plans have been executed (with at least one passed plan). | 
| boolean | posttoallPost the goal to all plans of the APL in parallel. | 
| Publish | publishThe publication settings. | 
| boolean | randomselectionSelect a plan randomly. | 
| boolean | rebuildRebuild the APL on each retry; | 
| boolean | recurThe recur flag. | 
| long | recurdelayThe recur delay. | 
| boolean | retryThe retry flag. | 
| long | retrydelayThe retry delay. | 
| java.lang.Class<?>[] | triggergoalsThe goal trigger. | 
| boolean | uniqueShould 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