com.dynatrace.diagnostics.pdk
Enum Status.StatusCode

java.lang.Object
  extended by java.lang.Enum<Status.StatusCode>
      extended by com.dynatrace.diagnostics.pdk.Status.StatusCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Status.StatusCode>
Enclosing class:
Status

public static enum Status.StatusCode
extends java.lang.Enum<Status.StatusCode>

Standard Status Codes They contain:


Enum Constant Summary
ErrorDynatraceServer
           
ErrorInfrastructure
           
ErrorInfrastructureProtocolError
           
ErrorInfrastructureTimeout
           
ErrorInfrastructureUnauthorized
           
ErrorInfrastructureUnreachable
           
ErrorInternal
           
ErrorInternalConfigurationProblem
           
ErrorInternalException
           
ErrorInternalResourceUnavailable
           
ErrorInternalUnauthorized
           
ErrorLicense
           
ErrorTargetService
           
ErrorTargetServiceExecutionFailed
           
ErrorTargetServiceUnauthorized
           
PartialSuccess
           
Success
           
Uninitialized
           
 
Method Summary
 int getBaseCode()
           
 int getCode()
           
 java.lang.String getDefaultMessage()
           
 java.lang.String getDefaultShortMessage()
           
 java.lang.String toString()
           
static Status.StatusCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Status.StatusCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Success

public static final Status.StatusCode Success

PartialSuccess

public static final Status.StatusCode PartialSuccess

ErrorDynatraceServer

public static final Status.StatusCode ErrorDynatraceServer

ErrorLicense

public static final Status.StatusCode ErrorLicense

ErrorInternal

public static final Status.StatusCode ErrorInternal

ErrorInternalException

public static final Status.StatusCode ErrorInternalException

ErrorInternalResourceUnavailable

public static final Status.StatusCode ErrorInternalResourceUnavailable

ErrorInternalUnauthorized

public static final Status.StatusCode ErrorInternalUnauthorized

ErrorInternalConfigurationProblem

public static final Status.StatusCode ErrorInternalConfigurationProblem

ErrorInfrastructure

public static final Status.StatusCode ErrorInfrastructure

ErrorInfrastructureUnreachable

public static final Status.StatusCode ErrorInfrastructureUnreachable

ErrorInfrastructureUnauthorized

public static final Status.StatusCode ErrorInfrastructureUnauthorized

ErrorInfrastructureProtocolError

public static final Status.StatusCode ErrorInfrastructureProtocolError

ErrorInfrastructureTimeout

public static final Status.StatusCode ErrorInfrastructureTimeout

ErrorTargetService

public static final Status.StatusCode ErrorTargetService

ErrorTargetServiceExecutionFailed

public static final Status.StatusCode ErrorTargetServiceExecutionFailed

ErrorTargetServiceUnauthorized

public static final Status.StatusCode ErrorTargetServiceUnauthorized

Uninitialized

public static final Status.StatusCode Uninitialized
Method Detail

values

public static Status.StatusCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Status.StatusCode c : Status.StatusCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Status.StatusCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public int getCode()

getBaseCode

public int getBaseCode()

getDefaultShortMessage

public java.lang.String getDefaultShortMessage()

getDefaultMessage

public java.lang.String getDefaultMessage()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Status.StatusCode>


Copyright © 2004-2012 dynaTrace software GmbH