Package jenkins.plugins.git
Class GitHooksConfiguration
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- jenkins.plugins.git.GitHooksConfiguration
-
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,PersistentDescriptor,Saveable,Loadable,OnMaster
@Extension @Symbol("gitHooks") @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class GitHooksConfiguration extends GlobalConfiguration implements PersistentDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description GitHooksConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidconfigure(org.jenkinsci.plugins.gitclient.GitClient client)static voidconfigure(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowed)static voidconfigure(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowedOnController, boolean allowedOnAgents)static GitHooksConfigurationget()GlobalConfigurationCategorygetCategory()booleanisAllowedOnAgents()booleanisAllowedOnController()voidsetAllowedOnAgents(boolean allowedOnAgents)voidsetAllowedOnController(boolean allowedOnController)-
Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.PersistentDescriptor
load
-
-
-
-
Method Detail
-
get
@NonNull public static GitHooksConfiguration get()
-
isAllowedOnController
public boolean isAllowedOnController()
-
setAllowedOnController
public void setAllowedOnController(boolean allowedOnController)
-
isAllowedOnAgents
public boolean isAllowedOnAgents()
-
setAllowedOnAgents
public void setAllowedOnAgents(boolean allowedOnAgents)
-
getCategory
@NonNull public GlobalConfigurationCategory getCategory()
- Overrides:
getCategoryin classDescriptor<GlobalConfiguration>
-
configure
public static void configure(org.jenkinsci.plugins.gitclient.GitClient client) throws hudson.plugins.git.GitException, IOException, InterruptedException- Throws:
hudson.plugins.git.GitExceptionIOExceptionInterruptedException
-
configure
public static void configure(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowedOnController, boolean allowedOnAgents) throws hudson.plugins.git.GitException, IOException, InterruptedException- Throws:
hudson.plugins.git.GitExceptionIOExceptionInterruptedException
-
configure
public static void configure(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowed) throws hudson.plugins.git.GitException, IOException, InterruptedException- Throws:
hudson.plugins.git.GitExceptionIOExceptionInterruptedException
-
-