org.sonatype.tests.http.server.api
Enum Behaviour.Keys
java.lang.Object
java.lang.Enum<Behaviour.Keys>
org.sonatype.tests.http.server.api.Behaviour.Keys
- All Implemented Interfaces:
- Serializable, Comparable<Behaviour.Keys>
- Enclosing interface:
- Behaviour
public static enum Behaviour.Keys
- extends Enum<Behaviour.Keys>
Method Summary |
static Behaviour.Keys |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Behaviour.Keys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CONTENT
public static final Behaviour.Keys CONTENT
STUTTER_MSGS
public static final Behaviour.Keys STUTTER_MSGS
STUTTER_TIME
public static final Behaviour.Keys STUTTER_TIME
CONTENT_SIZE
public static final Behaviour.Keys CONTENT_SIZE
TRUNCATE_MSG
public static final Behaviour.Keys TRUNCATE_MSG
values
public static Behaviour.Keys[] 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 (Behaviour.Keys c : Behaviour.Keys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Behaviour.Keys 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 © 2010-2013 Sonatype, Inc.. All Rights Reserved.