public static enum GitCommandHelper.PushStatus extends Enum<GitCommandHelper.PushStatus>
Enum Constant and Description |
---|
FAILED |
NEED_PULL |
NOTHING_TO_PUSH |
OK |
Modifier and Type | Method and Description |
---|---|
static GitCommandHelper.PushStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitCommandHelper.PushStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitCommandHelper.PushStatus OK
public static final GitCommandHelper.PushStatus FAILED
public static final GitCommandHelper.PushStatus NEED_PULL
public static final GitCommandHelper.PushStatus NOTHING_TO_PUSH
public static GitCommandHelper.PushStatus[] values()
for (GitCommandHelper.PushStatus c : GitCommandHelper.PushStatus.values()) System.out.println(c);
public static GitCommandHelper.PushStatus 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 nullCopyright © 2019. All rights reserved.