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 SentryAgent
outer
The sentry agent.protected ISpaceObject
target
The 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 boolean
checkContext()
static SentryAgent.AnalyzeTarget
checkCreate(SentryAgent outer, ISpaceObject target, ChangeEvent event)
boolean
checkDrop()
boolean
equals(java.lang.Object obj)
Test if equal to other goal.SentryAgent
getOuter()
Get the outer.ISpaceObject
getTarget()
Get the target.int
hashCode()
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equal to other goal.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- The other object.- Returns:
- True, if equal.
-
-