CommandStatus
Contents
[
Hide
]Inheritance: java.lang.Object
public class CommandStatus
Indicates the result of an operation.
Constructors
Constructor | Description |
---|---|
CommandStatus(int statusCode, String description) | Initializes a new instance of the Status class. |
Methods
Method | Description |
---|---|
equals(Object obj) | Determines whether the specified object is equal to the current object. |
getClass() | |
getDescription() | Contains status description |
getStatusCode() | Contains status code |
hashCode() | Serves as a hash function for a particular type. |
notify() | |
notifyAll() | |
toString() | Returns a string that represents the current object. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
CommandStatus(int statusCode, String description)
public CommandStatus(int statusCode, String description)
Initializes a new instance of the Status class.
Parameters:
Parameter | Type | Description |
---|---|---|
statusCode | int | Contains status code |
description | java.lang.String | Contains status description |
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The object to compare with the current object. |
Returns: boolean - true if the specified object is equal to the current object; otherwise, false.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDescription()
public String getDescription()
Contains status description
Returns: java.lang.String
getStatusCode()
public int getStatusCode()
Contains status code
Returns: int
hashCode()
public int hashCode()
Serves as a hash function for a particular type.
Returns: int - A hash code for the current Object.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns a string that represents the current object.
Returns: java.lang.String - A string that represents the current object.
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |