public static enum PushConfig.PushRecurseSubmodulesMode extends Enum<PushConfig.PushRecurseSubmodulesMode> implements Config.ConfigEnum
| Enum Constant and Description |
|---|
CHECK
Verify that all submodule commits that changed in the revisions to be
pushed are available on at least one remote of the submodule.
|
NO
Default behavior of ignoring submodules when pushing is retained.
|
ON_DEMAND
All submodules that changed in the revisions to be pushed will be
pushed.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchConfigValue(String s)
Checks if the given string matches with enum value.
|
String |
toConfigValue()
Converts enumeration value into a string to be save in config.
|
static PushConfig.PushRecurseSubmodulesMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushConfig.PushRecurseSubmodulesMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushConfig.PushRecurseSubmodulesMode CHECK
public static final PushConfig.PushRecurseSubmodulesMode ON_DEMAND
public static final PushConfig.PushRecurseSubmodulesMode NO
public static PushConfig.PushRecurseSubmodulesMode[] values()
for (PushConfig.PushRecurseSubmodulesMode c : PushConfig.PushRecurseSubmodulesMode.values()) System.out.println(c);
public static PushConfig.PushRecurseSubmodulesMode 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 String toConfigValue()
Config.ConfigEnumtoConfigValue in interface Config.ConfigEnumpublic boolean matchConfigValue(String s)
Config.ConfigEnummatchConfigValue in interface Config.ConfigEnums - the string to matchCopyright © 2018 Eclipse JGit Project. All rights reserved.