Class ActionCompletedListener.ActionCompletedEvent
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.ActionCompletedListener.ActionCompletedEvent
-
- Enclosing interface:
- ActionCompletedListener
public static class ActionCompletedListener.ActionCompletedEvent extends Object
This event is generated once a module action is completed.
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_CANCELED
If the action was not completed because the user canceled it.static int
STATUS_ERROR
If the action was not completed.static int
STATUS_SUCCESS
If the action was completed successfully.static int
STATUS_WARNING
If the action was completed with warnings.
-
Constructor Summary
Constructors Constructor Description ActionCompletedEvent(int status, String message, Class source)
ActionCompletedEvent(int status, String message, Class source, ActionResponse actionResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionResponse
getActionResponse()
String
getMessage()
Class
getSource()
int
getStatus()
void
setActionResponse(ActionResponse actionResponse)
void
setMessage(String message)
void
setStatus(int status)
-
-
-
Field Detail
-
STATUS_SUCCESS
public static final int STATUS_SUCCESS
If the action was completed successfully.- See Also:
- Constant Field Values
-
STATUS_WARNING
public static final int STATUS_WARNING
If the action was completed with warnings.- See Also:
- Constant Field Values
-
STATUS_ERROR
public static final int STATUS_ERROR
If the action was not completed.- See Also:
- Constant Field Values
-
STATUS_CANCELED
public static final int STATUS_CANCELED
If the action was not completed because the user canceled it.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ActionCompletedEvent
public ActionCompletedEvent(int status, String message, Class source, ActionResponse actionResponse)
-
-
Method Detail
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
getSource
public Class getSource()
-
getActionResponse
public ActionResponse getActionResponse()
-
setActionResponse
public void setActionResponse(ActionResponse actionResponse)
-
-