Class SentryAgent.AnalyzeTarget
- java.lang.Object
-
- jadex.bdiv3.examples.marsworld.sentry.SentryAgent.AnalyzeTarget
-
- Enclosing class:
- SentryAgent
public static class SentryAgent.AnalyzeTarget extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected SentryAgentouterThe sentry agent.protected ISpaceObjecttargetThe target.
-
Constructor Summary
Constructors Constructor Description AnalyzeTarget(SentryAgent outer, ISpaceObject target)Create a new AnalyzeTarget.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckContext()static SentryAgent.AnalyzeTargetcheckCreate(SentryAgent outer, ISpaceObject target, ChangeEvent event)booleancheckDrop()booleanequals(java.lang.Object obj)Test if equal to other goal.SentryAgentgetOuter()Get the outer.ISpaceObjectgetTarget()Get the target.inthashCode()Get the hashcode.
-
-
-
Field Detail
-
outer
protected SentryAgent outer
The sentry agent.
-
target
protected ISpaceObject target
The target.
-
-
Constructor Detail
-
AnalyzeTarget
public AnalyzeTarget(SentryAgent outer, ISpaceObject target)
Create a new AnalyzeTarget.
-
-
Method Detail
-
checkCreate
public static SentryAgent.AnalyzeTarget checkCreate(SentryAgent outer, ISpaceObject target, ChangeEvent event)
-
checkContext
public boolean checkContext()
-
checkDrop
public boolean checkDrop()
-
getTarget
public ISpaceObject getTarget()
Get the target.- Returns:
- The target.
-
getOuter
public SentryAgent getOuter()
Get the outer.- Returns:
- The outer.
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equal to other goal.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- The other object.- Returns:
- True, if equal.
-
-