public static enum ValidationProblem.Severity extends java.lang.Enum<ValidationProblem.Severity>
Modifier and Type | Method and Description |
---|---|
static ValidationProblem.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationProblem.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationProblem.Severity WARNING
public static final ValidationProblem.Severity ERROR
public static ValidationProblem.Severity[] values()
for (ValidationProblem.Severity c : ValidationProblem.Severity.values()) System.out.println(c);
public static ValidationProblem.Severity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html