org.kuali.rice.test.lifecycles
Enum JettyServerLifecycle.ConfigMode

java.lang.Object
  extended by java.lang.Enum<JettyServerLifecycle.ConfigMode>
      extended by org.kuali.rice.test.lifecycles.JettyServerLifecycle.ConfigMode
All Implemented Interfaces:
Serializable, Comparable<JettyServerLifecycle.ConfigMode>
Enclosing class:
JettyServerLifecycle

public static enum JettyServerLifecycle.ConfigMode
extends Enum<JettyServerLifecycle.ConfigMode>

Enum for dealing with the webapp's Config


Enum Constant Summary
MERGE
          Merge the webapp's Config into the existing context class loader config
NONE
          Do nothing
OVERRIDE
          Override the Config for the context class loader
 
Method Summary
static JettyServerLifecycle.ConfigMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JettyServerLifecycle.ConfigMode[] 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

NONE

public static final JettyServerLifecycle.ConfigMode NONE
Do nothing


OVERRIDE

public static final JettyServerLifecycle.ConfigMode OVERRIDE
Override the Config for the context class loader


MERGE

public static final JettyServerLifecycle.ConfigMode MERGE
Merge the webapp's Config into the existing context class loader config

Method Detail

values

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

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

valueOf

public static JettyServerLifecycle.ConfigMode 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


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.