Package | Description |
---|---|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
static Hook |
Hook.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hook[] |
Hook.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
File |
FS.findHook(Repository repository,
Hook hook)
Tries to find a hook matching the given one in the given repository.
|
protected ProcessResult |
FS.internalRunIfPresent(Repository repository,
Hook hook,
String[] args,
PrintStream outRedirect,
PrintStream errRedirect,
String stdinArgs)
|
ProcessResult |
FS.runIfPresent(Repository repository,
Hook hook,
String[] args)
Checks whether the given hook is defined for the given repository, then
runs it with the given arguments.
|
ProcessResult |
FS_Win32_Cygwin.runIfPresent(Repository repository,
Hook hook,
String[] args,
PrintStream outRedirect,
PrintStream errRedirect,
String stdinArgs) |
ProcessResult |
FS_POSIX.runIfPresent(Repository repository,
Hook hook,
String[] args,
PrintStream outRedirect,
PrintStream errRedirect,
String stdinArgs) |
ProcessResult |
FS.runIfPresent(Repository repository,
Hook hook,
String[] args,
PrintStream outRedirect,
PrintStream errRedirect,
String stdinArgs)
Checks whether the given hook is defined for the given repository, then
runs it with the given arguments.
|
Copyright © 2015. All rights reserved.