public class MPlan extends MElement
CAPABILITY_SEPARATOR
Constructor and Description |
---|
MPlan(String name,
MBody body,
MTrigger trigger,
MTrigger waitqueue,
int priority)
Create a new belief.
|
Modifier and Type | Method and Description |
---|---|
MBody |
getBody()
Get the body.
|
int |
getPriority()
Get the priority.
|
MTrigger |
getTrigger()
Get the trigger.
|
MTrigger |
getWaitqueue()
Get the waitqueue.
|
void |
setBody(MBody body)
Set the body.
|
void |
setPriority(int priority)
Set the priority.
|
void |
setTrigger(MTrigger trigger)
Set the trigger.
|
void |
setWaitqueue(MTrigger waitqueue)
Set the waitqueue.
|
getCapabilityName, getName, setName
public MBody getBody()
public void setBody(MBody body)
body
- The body to set.public MTrigger getTrigger()
public void setTrigger(MTrigger trigger)
trigger
- The trigger to set.public MTrigger getWaitqueue()
public void setWaitqueue(MTrigger waitqueue)
waitqueue
- The waitqueue to set.public int getPriority()
public void setPriority(int priority)
priority
- The priority to set.Copyright © 2015. All Rights Reserved.