Package net.sourceforge.plantuml.suggest
Enum SuggestEngineStatus
- java.lang.Object
-
- java.lang.Enum<SuggestEngineStatus>
-
- net.sourceforge.plantuml.suggest.SuggestEngineStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SuggestEngineStatus>
public enum SuggestEngineStatus extends java.lang.Enum<SuggestEngineStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_CORRECT
ONE_SUGGESTION
SYNTAX_OK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SuggestEngineStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SuggestEngineStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYNTAX_OK
public static final SuggestEngineStatus SYNTAX_OK
-
CANNOT_CORRECT
public static final SuggestEngineStatus CANNOT_CORRECT
-
ONE_SUGGESTION
public static final SuggestEngineStatus ONE_SUGGESTION
-
-
Method Detail
-
values
public static SuggestEngineStatus[] 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 (SuggestEngineStatus c : SuggestEngineStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SuggestEngineStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-