Interface RepositoryHookDetails
public interface RepositoryHookDetails
Contains the static (ie non-repository specific) details of a repository hook.
-
Method Details
-
getKey
- Returns:
- The unique key of this hook, which will be in the form
group-id.plugin-id:module-key
-
getName
- Returns:
- The human-readable name of this hook
-
getType
- Returns:
- The type of hook (ie pre or post receive)
-
getDescription
- Returns:
- The optional description of this hook, or
null
-
getVersion
- Returns:
- The version of this hook (ie the plugin version)
-
getConfigFormKey
- Returns:
- The optional configuration form key if provided, or
null
-
getSupportedScopes
- Returns:
- The scopes at which this hook can be configured
- Since:
- 5.2
-