org.csapi.jr.se.fw
Class AppAvailStatusReason

java.lang.Object
  extended byorg.csapi.jr.se.fw.AppAvailStatusReason
All Implemented Interfaces:
java.io.Serializable

public final class AppAvailStatusReason
extends java.lang.Object
implements java.io.Serializable

Defines the reason detailing the change in status of Application availability. Note 1: The client application is unable (or does not wish) to continue using the service instance. Note 2: The "expected" recovery time could be defined within the SLA.

See Also:
Serialized Form

Field Summary
static int _APP_AVAILABLE
          The Application has become available
static int _APP_UNAVAILABLE_CLOSED
          The Application has closed itself (for example to protect from fraud or malicious attack) .
static int _APP_UNAVAILABLE_LOCAL_FAILURE
          A local failure in the Application has been detected.
static int _APP_UNAVAILABLE_NO_RESPONSE
          The Framework has detected that the application has failed: for example non-response from an activity test, failure to return heartbeats.
static int _APP_UNAVAILABLE_OVERLOADED
          The Application is fully overloaded.
static int _APP_UNAVAILABLE_REMOTE_FAILURE
          A remote failure to the application has been detected, for example a database is not working.
static int _APP_UNAVAILABLE_SW_UPGRADE
          The Application is unavailable due to SW upgrade or other similar maintenance.
static int _APP_UNAVAILABLE_UNDEFINED
          Undefined.
static AppAvailStatusReason APP_AVAILABLE
          The Application has become available
static AppAvailStatusReason APP_UNAVAILABLE_CLOSED
          The Application has closed itself (for example to protect from fraud or malicious attack) .
static AppAvailStatusReason APP_UNAVAILABLE_LOCAL_FAILURE
          A local failure in the Application has been detected.
static AppAvailStatusReason APP_UNAVAILABLE_NO_RESPONSE
          The Framework has detected that the application has failed: for example non-response from an activity test, failure to return heartbeats.
static AppAvailStatusReason APP_UNAVAILABLE_OVERLOADED
          The Application is fully overloaded.
static AppAvailStatusReason APP_UNAVAILABLE_REMOTE_FAILURE
          A remote failure to the application has been detected, for example a database is not working.
static AppAvailStatusReason APP_UNAVAILABLE_SW_UPGRADE
          The Application is unavailable due to SW upgrade or other similar maintenance.
static AppAvailStatusReason APP_UNAVAILABLE_UNDEFINED
          Undefined.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static AppAvailStatusReason getObject(int value)
          Accepts values in the range of 0 to 7
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_APP_UNAVAILABLE_UNDEFINED

public static final int _APP_UNAVAILABLE_UNDEFINED
Undefined. A permanent failure. See Note 1.

See Also:
Constant Field Values

APP_UNAVAILABLE_UNDEFINED

public static final AppAvailStatusReason APP_UNAVAILABLE_UNDEFINED
Undefined. A permanent failure. See Note 1.


_APP_UNAVAILABLE_LOCAL_FAILURE

public static final int _APP_UNAVAILABLE_LOCAL_FAILURE
A local failure in the Application has been detected. A permanent failure. See Note 1.

See Also:
Constant Field Values

APP_UNAVAILABLE_LOCAL_FAILURE

public static final AppAvailStatusReason APP_UNAVAILABLE_LOCAL_FAILURE
A local failure in the Application has been detected. A permanent failure. See Note 1.


_APP_UNAVAILABLE_REMOTE_FAILURE

public static final int _APP_UNAVAILABLE_REMOTE_FAILURE
A remote failure to the application has been detected, for example a database is not working. A permanent failure. See Note 1.

See Also:
Constant Field Values

APP_UNAVAILABLE_REMOTE_FAILURE

public static final AppAvailStatusReason APP_UNAVAILABLE_REMOTE_FAILURE
A remote failure to the application has been detected, for example a database is not working. A permanent failure. See Note 1.


_APP_UNAVAILABLE_OVERLOADED

public static final int _APP_UNAVAILABLE_OVERLOADED
The Application is fully overloaded. A temporary problem. See Note 2.

See Also:
Constant Field Values

APP_UNAVAILABLE_OVERLOADED

public static final AppAvailStatusReason APP_UNAVAILABLE_OVERLOADED
The Application is fully overloaded. A temporary problem. See Note 2.


_APP_UNAVAILABLE_CLOSED

public static final int _APP_UNAVAILABLE_CLOSED
The Application has closed itself (for example to protect from fraud or malicious attack) . A permanent failure. See Note 1.

See Also:
Constant Field Values

APP_UNAVAILABLE_CLOSED

public static final AppAvailStatusReason APP_UNAVAILABLE_CLOSED
The Application has closed itself (for example to protect from fraud or malicious attack) . A permanent failure. See Note 1.


_APP_UNAVAILABLE_NO_RESPONSE

public static final int _APP_UNAVAILABLE_NO_RESPONSE
The Framework has detected that the application has failed: for example non-response from an activity test, failure to return heartbeats. A permanent failure. See Note 1.

See Also:
Constant Field Values

APP_UNAVAILABLE_NO_RESPONSE

public static final AppAvailStatusReason APP_UNAVAILABLE_NO_RESPONSE
The Framework has detected that the application has failed: for example non-response from an activity test, failure to return heartbeats. A permanent failure. See Note 1.


_APP_UNAVAILABLE_SW_UPGRADE

public static final int _APP_UNAVAILABLE_SW_UPGRADE
The Application is unavailable due to SW upgrade or other similar maintenance. A permanent failure. See Note 1.

See Also:
Constant Field Values

APP_UNAVAILABLE_SW_UPGRADE

public static final AppAvailStatusReason APP_UNAVAILABLE_SW_UPGRADE
The Application is unavailable due to SW upgrade or other similar maintenance. A permanent failure. See Note 1.


_APP_AVAILABLE

public static final int _APP_AVAILABLE
The Application has become available

See Also:
Constant Field Values

APP_AVAILABLE

public static final AppAvailStatusReason APP_AVAILABLE
The Application has become available

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the AppAvailStatusReason object

getObject

public static AppAvailStatusReason getObject(int value)
                                      throws InvalidEnumValueException
Accepts values in the range of 0 to 7

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.