public static enum GitClient.DiffMode extends Enum<GitClient.DiffMode>
GitClient.exportDiff(java.io.File[], org.netbeans.libs.git.GitClient.DiffMode, java.io.OutputStream, org.netbeans.libs.git.progress.ProgressMonitor)
.
It tells the command what trees it is supposed to compare.Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
HEAD_VS_INDEX
Compares the current HEAD vs.
|
HEAD_VS_WORKINGTREE
Compares the current HEAD vs.
|
INDEX_VS_WORKINGTREE
Compares the Index vs.
|
Modifier and Type | Method and Description |
---|---|
static GitClient.DiffMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitClient.DiffMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitClient.DiffMode HEAD_VS_INDEX
public static final GitClient.DiffMode HEAD_VS_WORKINGTREE
public static final GitClient.DiffMode INDEX_VS_WORKINGTREE
public static GitClient.DiffMode[] values()
public static GitClient.DiffMode 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 null