ch.qos.logback.core.util
Enum ContainmentType
java.lang.Object
java.lang.Enum<ContainmentType>
ch.qos.logback.core.util.ContainmentType
- All Implemented Interfaces:
- Serializable, Comparable<ContainmentType>
public enum ContainmentType
- extends Enum<ContainmentType>
|
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. |
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
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.