public static enum SubmoduleConfig.FetchRecurseSubmodulesMode extends 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 | 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 SubmoduleConfig.FetchRecurseSubmodulesMode | 
valueOf(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(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 © 2020 Eclipse JGit Project. All rights reserved.