Class HookSecretConfig
java.lang.Object
hudson.model.AbstractDescribableImpl<HookSecretConfig>
org.jenkinsci.plugins.github.config.HookSecretConfig
- All Implemented Interfaces:
Describable<HookSecretConfig>
Manages storing/retrieval of the shared secret for the hook.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the currently used secret being used for payload verification.void
setCredentialsId
(String credentialsId) Deprecated.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
HookSecretConfig
-
-
Method Details
-
getHookSecret
Gets the currently used secret being used for payload verification.- Returns:
- Current secret, null if not set.
-
getCredentialsId
-
setCredentialsId
Deprecated.rather treat this field as final and useGitHubPluginConfig.setHookSecretConfigs(java.util.List<org.jenkinsci.plugins.github.config.HookSecretConfig>)
- Parameters:
credentialsId
- a new ID
-
GitHubPluginConfig.setHookSecretConfigs(java.util.List<org.jenkinsci.plugins.github.config.HookSecretConfig>)