|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.Descriptor<hudson.triggers.Trigger<?>>
hudson.triggers.TriggerDescriptor
com.dabsquared.gitlabjenkins.GitLabPushTrigger.DescriptorImpl
@Extension public static class GitLabPushTrigger.DescriptorImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
GitLabPushTrigger.DescriptorImpl()
|
|
| Method Summary | |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
hudson.util.FormValidation |
doCheckGitlabApiToken(String value)
|
hudson.util.FormValidation |
doCheckGitlabHostUrl(String value)
|
hudson.util.FormValidation |
doTestConnection(String hostUrl,
String token,
boolean ignoreCertificateErrors)
|
static GitLabPushTrigger.DescriptorImpl |
get()
|
String |
getDisplayName()
|
GitLab |
getGitlab()
|
String |
getGitlabApiToken()
|
String |
getGitlabHostUrl()
|
boolean |
getIgnoreCertificateErrors()
|
List<String> |
getProjectBranches()
|
protected String |
getSourceRepoNameDefault()
Get the Name of the first declared repository in the project configuration. |
protected org.eclipse.jgit.transport.URIish |
getSourceRepoURLDefault()
Get the URL of the first declared repository in the project configuration. |
boolean |
isApplicable(hudson.model.Item item)
|
| Methods inherited from class hudson.model.Descriptor |
|---|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, 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 |
| Constructor Detail |
|---|
public GitLabPushTrigger.DescriptorImpl()
| Method Detail |
|---|
public boolean isApplicable(hudson.model.Item item)
isApplicable in class hudson.triggers.TriggerDescriptorpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>hudson.model.Descriptor.FormExceptionpublic List<String> getProjectBranches()
protected org.eclipse.jgit.transport.URIish getSourceRepoURLDefault()
protected String getSourceRepoNameDefault()
public hudson.util.FormValidation doCheckGitlabHostUrl(@QueryParameter
String value)
public hudson.util.FormValidation doCheckGitlabApiToken(@QueryParameter
String value)
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="gitlabHostUrl")
String hostUrl,
@QueryParameter(value="gitlabApiToken")
String token,
@QueryParameter(value="ignoreCertificateErrors")
boolean ignoreCertificateErrors)
throws IOException
IOExceptionpublic GitLab getGitlab()
public String getGitlabApiToken()
public String getGitlabHostUrl()
public boolean getIgnoreCertificateErrors()
public static GitLabPushTrigger.DescriptorImpl get()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||