public static enum CmdEntryPoint.RetCode extends Enum<CmdEntryPoint.RetCode>
0 means 'OK', 1 'bad arguments', 2 'bad data', 3 'bad permissions'
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static CmdEntryPoint.RetCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmdEntryPoint.RetCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmdEntryPoint.RetCode OK
public static final CmdEntryPoint.RetCode BAD_ARGS
public static final CmdEntryPoint.RetCode BAD_DATA
public static final CmdEntryPoint.RetCode BAD_PERMS
public static CmdEntryPoint.RetCode[] values()
for (CmdEntryPoint.RetCode c : CmdEntryPoint.RetCode.values()) System.out.println(c);
public static CmdEntryPoint.RetCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.