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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
configure
(org.jenkinsci.plugins.gitclient.GitClient client) static void
configure
(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowed) static void
configure
(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowedOnController, boolean allowedOnAgents) static GitHooksConfiguration
get()
boolean
boolean
void
setAllowedOnAgents
(boolean allowedOnAgents) void
setAllowedOnController
(boolean allowedOnController) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, configure, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, 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
-
Constructor Details
-
GitHooksConfiguration
public GitHooksConfiguration()
-
-
Method Details
-
get
-
isAllowedOnController
public boolean isAllowedOnController() -
setAllowedOnController
public void setAllowedOnController(boolean allowedOnController) -
isAllowedOnAgents
public boolean isAllowedOnAgents() -
setAllowedOnAgents
public void setAllowedOnAgents(boolean allowedOnAgents) -
getCategory
- Overrides:
getCategory
in classDescriptor<GlobalConfiguration>
-
configure
public static void configure(org.jenkinsci.plugins.gitclient.GitClient client) throws hudson.plugins.git.GitException, IOException, InterruptedException - Throws:
hudson.plugins.git.GitException
IOException
InterruptedException
-
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.GitException
IOException
InterruptedException
-
configure
public static void configure(org.jenkinsci.plugins.gitclient.GitClient client, boolean allowed) throws hudson.plugins.git.GitException, IOException, InterruptedException - Throws:
hudson.plugins.git.GitException
IOException
InterruptedException
-