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 SummaryFields Modifier and Type Field Description protected SentryAgentouterThe sentry agent.protected ISpaceObjecttargetThe target.
 - 
Constructor SummaryConstructors Constructor Description AnalyzeTarget(SentryAgent outer, ISpaceObject target)Create a new AnalyzeTarget.
 - 
Method SummaryAll 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- 
outerprotected SentryAgent outer The sentry agent.
 - 
targetprotected ISpaceObject target The target.
 
- 
 - 
Constructor Detail- 
AnalyzeTargetpublic AnalyzeTarget(SentryAgent outer, ISpaceObject target) Create a new AnalyzeTarget.
 
- 
 - 
Method Detail- 
checkCreatepublic static SentryAgent.AnalyzeTarget checkCreate(SentryAgent outer, ISpaceObject target, ChangeEvent event) 
 - 
checkContextpublic boolean checkContext() 
 - 
checkDroppublic boolean checkDrop() 
 - 
getTargetpublic ISpaceObject getTarget() Get the target.- Returns:
- The target.
 
 - 
getOuterpublic SentryAgent getOuter() Get the outer.- Returns:
- The outer.
 
 - 
hashCodepublic int hashCode() Get the hashcode.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if equal to other goal.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- obj- The other object.
- Returns:
- True, if equal.
 
 
- 
 
-