ch.qos.logback.core.util
Enum ContainmentType

java.lang.Object
  extended by java.lang.Enum<ContainmentType>
      extended by ch.qos.logback.core.util.ContainmentType
All Implemented Interfaces:
Serializable, Comparable<ContainmentType>

public enum ContainmentType
extends Enum<ContainmentType>


Enum Constant Summary
AS_COMPONENT_COLLECTION
           
AS_PROPERTY_COLLECTION
           
AS_SINGLE_COMPONENT
           
AS_SINGLE_PROPERTY
           
NOT_FOUND
           
 
Method Summary
static ContainmentType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContainmentType[] 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

NOT_FOUND

public static final ContainmentType NOT_FOUND

AS_SINGLE_COMPONENT

public static final ContainmentType AS_SINGLE_COMPONENT

AS_SINGLE_PROPERTY

public static final ContainmentType AS_SINGLE_PROPERTY

AS_PROPERTY_COLLECTION

public static final ContainmentType AS_PROPERTY_COLLECTION

AS_COMPONENT_COLLECTION

public static final ContainmentType AS_COMPONENT_COLLECTION
Method Detail

values

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

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

valueOf

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


Copyright © 2005-2008 QOS.ch. All Rights Reserved.