public class CommandStatus extends Object
Indicates the result of an operation.
| Modifier and Type | Field and Description |
|---|---|
protected String |
descriptionfield
Contains status description
|
protected int |
statusCodefield
Contains status code
|
| Constructor and Description |
|---|
CommandStatus(int statusCode,
String description)
Initializes a new instance of the Status class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines whether the specified object is equal to the current object.
|
String |
getDescription()
Contains status description
|
int |
getStatusCode()
Contains status code
|
int |
hashCode()
Serves as a hash function for a particular type.
|
String |
toString()
Returns a string that represents the current object.
|
protected int statusCodefield
Contains status code
protected String descriptionfield
Contains status description
public CommandStatus(int statusCode,
String description)
Initializes a new instance of the Status class.
statusCode - Contains status codedescription - Contains status descriptionpublic String getDescription()
Contains status description
public int getStatusCode()
Contains status code
public String toString()
Returns a string that represents the current object.
public int hashCode()
Serves as a hash function for a particular type.
Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.