|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicensingServiceResult
The interface which represents result of Licensing Service operations
Nested Class Summary | |
---|---|
static interface |
LicensingServiceResult.CheckoutResult
The interface which represents result of checkoutLicense(...) operation |
static class |
LicensingServiceResult.ErrorCode
|
static interface |
LicensingServiceResult.LicenseResult
The interface which represents result of getLicense(...) operation |
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_CPU_LIMIT
|
static java.lang.String |
PROPERTY_CPU_USAGE
|
static java.lang.String |
PROPERTY_MEMORY_LIMIT
|
static java.lang.String |
PROPERTY_MEMORY_USAGE
|
static java.lang.String |
PROPERTY_MESSAGE
|
static java.lang.String |
PROPERTY_RESULT
|
static java.lang.String |
PROPERTY_TICKET
|
static java.lang.String |
PROPERTY_USAGE_COUNT
|
static java.lang.String |
PROPERTY_USAGE_LIMIT
|
static int |
RESULT_ERROR
Specifies that operation failed due to business logic reasons. |
static int |
RESULT_LICENSE_REVOKED
Specifies that license lock revocation has been requested by administrator |
static int |
RESULT_OK
Specifies that operation succeeded |
static int |
RESULT_SESSION_EXPIRED
Specifies that license session is expired |
static int |
RESULT_SYSTEM_ERROR
Specifies that operation failed due to unexpected system error. |
Method Summary | |
---|---|
LicensingServiceResult.ErrorCode |
getErrorCode()
Returns error code |
java.lang.String |
getMessage()
Returns the message text associated with the result |
java.util.Map |
getProperties()
Returns result properties |
int |
getResult()
Returns result code of the operation as one of RESULT_ constants |
java.lang.String |
getTicket()
Returns ticket value unique identifies a licensing session for acquired license lock |
Field Detail |
---|
static final int RESULT_OK
static final int RESULT_ERROR
static final int RESULT_SYSTEM_ERROR
static final int RESULT_LICENSE_REVOKED
static final int RESULT_SESSION_EXPIRED
static final java.lang.String PROPERTY_RESULT
static final java.lang.String PROPERTY_TICKET
static final java.lang.String PROPERTY_MESSAGE
static final java.lang.String PROPERTY_USAGE_COUNT
static final java.lang.String PROPERTY_USAGE_LIMIT
static final java.lang.String PROPERTY_CPU_USAGE
static final java.lang.String PROPERTY_CPU_LIMIT
static final java.lang.String PROPERTY_MEMORY_USAGE
static final java.lang.String PROPERTY_MEMORY_LIMIT
Method Detail |
---|
java.lang.String getMessage()
int getResult()
RESULT_
constants
java.lang.String getTicket()
java.util.Map getProperties()
LicensingServiceResult.ErrorCode getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |