org.eclipse.swordfish.core.resolver.policy
Enum PolicyStatus

java.lang.Object
  extended by java.lang.Enum<PolicyStatus>
      extended by org.eclipse.swordfish.core.resolver.policy.PolicyStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PolicyStatus>

public enum PolicyStatus
extends java.lang.Enum<PolicyStatus>

Enum defining the format of a described policy.


Enum Constant Summary
NORMALIZED
          Normalized policy.
SWORDFISH_AGREED
          Specifically de-normalized as Swordfish agreed policy.
SWORDFISH_PARTICIPANT
          Specifically de-normalized as Swordfish service consumer or provider policy.
UNKNOWN
          Arbitrarily de-normalized.
 
Method Summary
static PolicyStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PolicyStatus[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMALIZED

public static final PolicyStatus NORMALIZED
Normalized policy.


SWORDFISH_PARTICIPANT

public static final PolicyStatus SWORDFISH_PARTICIPANT
Specifically de-normalized as Swordfish service consumer or provider policy.


SWORDFISH_AGREED

public static final PolicyStatus SWORDFISH_AGREED
Specifically de-normalized as Swordfish agreed policy.


UNKNOWN

public static final PolicyStatus UNKNOWN
Arbitrarily de-normalized.

Method Detail

values

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

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

valueOf

public static PolicyStatus 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