|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.planlib.InteractionState
public class InteractionState
The state of the execution of an interaction.
Field Summary | |
---|---|
static String |
CANCELLATION_FAILED
Constant identifying failed cancellation of interaction (failure explicitly stated by receiver side). |
static String |
CANCELLATION_SUCCEEDED
Constant identifying successful cancellation of interaction. |
static String |
CANCELLATION_UNKNOWN
Constant identifying unknown state of cancellation of interaction (no response from receiver side within timeout). |
static String |
INTERACTION_CANCELLED
Interaction state cancelled. |
static String |
INTERACTION_FINISHED
Interaction state finished. |
static String |
INTERACTION_INITIAL
Interaction state initial (not yet started). |
static String |
INTERACTION_RUNNING
Interaction state running. |
Constructor Summary | |
---|---|
InteractionState()
Create a new interaction state in default initial state "running". |
Method Summary | |
---|---|
void |
addCancelResponse(AgentIdentifier responder,
String response,
Object content)
Add a cancel response. |
AgentIdentifier[] |
getCancelResponders(String response)
Get all agents with a specific cancel response. |
String |
getCancelResponse(AgentIdentifier responder)
Get the cancel response of an agent. |
Object |
getCancelResponseContent(AgentIdentifier responder)
Get the details of a cancel response of a given agent. |
Object |
getFailure()
Get the failure description. |
String |
getInteractionState()
Get the interaction state. |
void |
setFailure(Object failure)
Set the failure description. |
void |
setInteractionState(String interaction_state)
Set the interaction state. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INTERACTION_INITIAL
public static final String INTERACTION_RUNNING
public static final String INTERACTION_CANCELLED
public static final String INTERACTION_FINISHED
public static final String CANCELLATION_SUCCEEDED
public static final String CANCELLATION_FAILED
public static final String CANCELLATION_UNKNOWN
Constructor Detail |
---|
public InteractionState()
Method Detail |
---|
public Object getFailure()
public void setFailure(Object failure)
failure
- The failure description to set.public String getInteractionState()
public void setInteractionState(String interaction_state)
interaction
- state The interaction state to set.public void addCancelResponse(AgentIdentifier responder, String response, Object content)
public AgentIdentifier[] getCancelResponders(String response)
public String getCancelResponse(AgentIdentifier responder)
public Object getCancelResponseContent(AgentIdentifier responder)
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.