|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.electrotank.electroserver4.extensions.api.PluginApiResponse
public class PluginApiResponse
Represents a response from the server in regards to a (generic) plugin request.
| Nested Class Summary | |
|---|---|
static class |
PluginApiResponse.Status
Enumeration of status states of a PluginApiResponse. |
| Constructor Summary | |
|---|---|
PluginApiResponse()
This constructor will be invoked by the server automatically. |
|
| Method Summary | |
|---|---|
PluginApiResponse.Status |
getStatus()
Gets the status of the response. |
boolean |
isSuccess()
Returns true if the response is successful. |
void |
setStatus(PluginApiResponse.Status status)
Set the status of the response to one of the allowed enumerated states. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginApiResponse()
| Method Detail |
|---|
public PluginApiResponse.Status getStatus()
public void setStatus(PluginApiResponse.Status status)
status - Success, Failure, or PartialSuccesspublic boolean isSuccess()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||