Enum ExeState
- java.lang.Object
-
- java.lang.Enum<ExeState>
-
- net.sourceforge.plantuml.cucadiagram.dot.ExeState
-
- All Implemented Interfaces:
Serializable
,Comparable<ExeState>
public enum ExeState extends Enum<ExeState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_BE_READ
DOES_NOT_EXIST
IS_A_DIRECTORY
NOT_A_FILE
NULL_UNDEFINED
OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExeState
checkFile(File dotExe)
String
getTextMessage()
String
getTextMessage(File exe)
static ExeState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExeState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL_UNDEFINED
public static final ExeState NULL_UNDEFINED
-
OK
public static final ExeState OK
-
DOES_NOT_EXIST
public static final ExeState DOES_NOT_EXIST
-
IS_A_DIRECTORY
public static final ExeState IS_A_DIRECTORY
-
NOT_A_FILE
public static final ExeState NOT_A_FILE
-
CANNOT_BE_READ
public static final ExeState CANNOT_BE_READ
-
-
Method Detail
-
values
public static ExeState[] 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 (ExeState c : ExeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExeState 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 nameNullPointerException
- if the argument is null
-
getTextMessage
public String getTextMessage()
-
-