public static enum SubRepoCommand.Command extends java.lang.Enum<SubRepoCommand.Command>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
command |
| Modifier and Type | Method and Description |
|---|---|
static SubRepoCommand.Command |
getCommand(java.lang.String arg) |
static SubRepoCommand.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubRepoCommand.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubRepoCommand.Command Add
public static final SubRepoCommand.Command Delete
public static final SubRepoCommand.Command Update
public static final SubRepoCommand.Command List
public static SubRepoCommand.Command[] values()
for (SubRepoCommand.Command c : SubRepoCommand.Command.values()) System.out.println(c);
public static SubRepoCommand.Command 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 nullpublic static SubRepoCommand.Command getCommand(java.lang.String arg)