KIE Remote Services :: Services 6.2.0.CR4

org.kie.remote.services.rest.exception
Enum KieRemoteRestOperationException.Status

java.lang.Object
  extended by java.lang.Enum<KieRemoteRestOperationException.Status>
      extended by org.kie.remote.services.rest.exception.KieRemoteRestOperationException.Status
All Implemented Interfaces:
Serializable, Comparable<KieRemoteRestOperationException.Status>
Enclosing class:
KieRemoteRestOperationException

public static enum KieRemoteRestOperationException.Status
extends Enum<KieRemoteRestOperationException.Status>


Enum Constant Summary
BAD_REQUEST
          === SYNTAX ===
CONFLICT
           
FORBIDDEN
          === FUNCTIONAL ===
GONE
           
INTERNAL_SERVER_ERROR
          === TECHNICAL ===
METHOD_NOT_ALLOWED
          SHOULD NOT BE USED!
NOT_ACCEPTABLE
          === FORMAT ===
NOT_FOUND
           
PRE_CONDITION_FAILED
           
UNAUTHORIZED
          === AUTH ===
UNSUPPORTED_MEDIA_TYPE
           
 
Method Summary
 int getValue()
           
static KieRemoteRestOperationException.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KieRemoteRestOperationException.Status[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BAD_REQUEST

public static final KieRemoteRestOperationException.Status BAD_REQUEST
=== SYNTAX ===


FORBIDDEN

public static final KieRemoteRestOperationException.Status FORBIDDEN
=== FUNCTIONAL ===


NOT_FOUND

public static final KieRemoteRestOperationException.Status NOT_FOUND

CONFLICT

public static final KieRemoteRestOperationException.Status CONFLICT

INTERNAL_SERVER_ERROR

public static final KieRemoteRestOperationException.Status INTERNAL_SERVER_ERROR
=== TECHNICAL ===


METHOD_NOT_ALLOWED

public static final KieRemoteRestOperationException.Status METHOD_NOT_ALLOWED
SHOULD NOT BE USED! (because these are inappropriate) Added for documentation


GONE

public static final KieRemoteRestOperationException.Status GONE

PRE_CONDITION_FAILED

public static final KieRemoteRestOperationException.Status PRE_CONDITION_FAILED

NOT_ACCEPTABLE

public static final KieRemoteRestOperationException.Status NOT_ACCEPTABLE
=== FORMAT ===


UNSUPPORTED_MEDIA_TYPE

public static final KieRemoteRestOperationException.Status UNSUPPORTED_MEDIA_TYPE

UNAUTHORIZED

public static final KieRemoteRestOperationException.Status UNAUTHORIZED
=== AUTH ===

Method Detail

values

public static KieRemoteRestOperationException.Status[] 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 (KieRemoteRestOperationException.Status c : KieRemoteRestOperationException.Status.values())
    System.out.println(c);

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

valueOf

public static KieRemoteRestOperationException.Status valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public int getValue()

KIE Remote Services :: Services 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.