Tuscany Assembly Model

org.apache.tuscany.model.assembly
Enum OverrideOption

java.lang.Object
  extended by java.lang.Enum<OverrideOption>
      extended by org.apache.tuscany.model.assembly.OverrideOption
All Implemented Interfaces:
Serializable, Comparable<OverrideOption>

public enum OverrideOption
extends Enum<OverrideOption>

Enumeration for override options that are used to control whether configuration information can be overridden by larger grained definitions.


Enum Constant Summary
MAY
          Indicates that the supplied configuration may be overriden.
MUST
          Indicates that the supplied configuration must be overriden.
NO
          Indicates that the supplied configuration cannot be overridden.
 
Method Summary
static OverrideOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OverrideOption[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO

public static final OverrideOption NO
Indicates that the supplied configuration cannot be overridden.


MAY

public static final OverrideOption MAY
Indicates that the supplied configuration may be overriden.


MUST

public static final OverrideOption MUST
Indicates that the supplied configuration must be overriden.

Method Detail

values

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

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

valueOf

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

Tuscany Assembly Model

-