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.SelfNested 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 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()booleanbooleanvoidsetAllowedOnAgents(boolean allowedOnAgents) voidsetAllowedOnController(boolean allowedOnController) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, configure, getDescriptor, getGlobalConfigPageMethods 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, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
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
-