@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface GoalOwner
Goal belongs to a
capability and, if so, whether is is internal or external. If a goal belongs to a capability, it is| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<? extends Capability> |
capability
This attribute indicates the
Capability that owns the
Goal. |
public abstract java.lang.Class<? extends Capability> capability
Capability that owns the
Goal.public abstract boolean internal
Goal is internal. If so, the
goal can be dispatched only by the capability that owns the goal, or its
children, and be achieved by plans of this capability (or its children).
The default value is false.