public static enum SubmoduleConfig.FetchRecurseSubmodulesMode extends java.lang.Enum<SubmoduleConfig.FetchRecurseSubmodulesMode> implements Config.ConfigEnum
| Enum Constant and Description |
|---|
NO
Completely disable recursion.
|
ON_DEMAND
Only recurse into a populated submodule when the superproject
retrieves a commit that updates the submodule's reference to a commit
that isn't already in the local submodule clone.
|
YES
Unconditionally recurse into all populated submodules.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
configValue |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchConfigValue(java.lang.String s)
Checks if the given string matches with enum value.
|
java.lang.String |
toConfigValue()
Converts enumeration value into a string to be save in config.
|
static SubmoduleConfig.FetchRecurseSubmodulesMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubmoduleConfig.FetchRecurseSubmodulesMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubmoduleConfig.FetchRecurseSubmodulesMode YES
public static final SubmoduleConfig.FetchRecurseSubmodulesMode ON_DEMAND
public static final SubmoduleConfig.FetchRecurseSubmodulesMode NO
public static SubmoduleConfig.FetchRecurseSubmodulesMode[] values()
for (SubmoduleConfig.FetchRecurseSubmodulesMode c : SubmoduleConfig.FetchRecurseSubmodulesMode.values()) System.out.println(c);
public static SubmoduleConfig.FetchRecurseSubmodulesMode 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 java.lang.String toConfigValue()
Config.ConfigEnumtoConfigValue in interface Config.ConfigEnumpublic boolean matchConfigValue(java.lang.String s)
Config.ConfigEnummatchConfigValue in interface Config.ConfigEnums - the string to match