## Uses of Class
org.eclipse.jgit.util.Hook

Packages that use Hook
org.eclipse.jgit.util: Utility classes.

### Uses of Hook in org.eclipse.jgit.util

Methods in org.eclipse.jgit.util that return Hook
`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.

Methods in org.eclipse.jgit.util with parameters of type Hook
`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)` See `FS.runIfPresent(Repository, Hook, String[], PrintStream, PrintStream, String)` .
`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_POSIX.`runIfPresent(Repository repository, Hook hook, String[] args, PrintStream outRedirect, PrintStream errRedirect, String stdinArgs)`
`ProcessResult` FS_Win32_Cygwin.`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.