public enum CoreEol extends Enum<CoreEol> implements org.eclipse.jgit.lib.Config.ConfigEnum
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_KEY_EOL |
static CoreEol |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static CoreEol |
fromString(String eol) |
static CoreEol |
getConfigValue(org.eclipse.jgit.lib.Config gitConfig) |
String |
getEol() |
static boolean |
isValid(String eol) |
boolean |
matchConfigValue(String in) |
String |
toConfigValue() |
static CoreEol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreEol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreEol LF
public static final CoreEol CRLF
public static final CoreEol NATIVE
public static CoreEol DEFAULT
public static final String CONFIG_KEY_EOL
public static CoreEol[] values()
for (CoreEol c : CoreEol.values()) System.out.println(c);
public static CoreEol 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 getEol()
public static CoreEol getConfigValue(org.eclipse.jgit.lib.Config gitConfig)
public static boolean isValid(String eol)
public String toConfigValue()
toConfigValue in interface org.eclipse.jgit.lib.Config.ConfigEnumpublic boolean matchConfigValue(String in)
matchConfigValue in interface org.eclipse.jgit.lib.Config.ConfigEnumCopyright © 2023 DV Bern AG. All rights reserved.