@Symbol(value="github") @Extension public static class GitHubSCMNavigator.DescriptorImpl extends jenkins.scm.api.SCMNavigatorDescriptor implements org.jenkins.ui.icon.IconSpec
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Modifier and Type | Field and Description |
---|---|
static boolean |
defaultBuildForkPRHead
Deprecated.
|
static boolean |
defaultBuildForkPRMerge
Deprecated.
|
static boolean |
defaultBuildOriginBranch
Deprecated.
|
static boolean |
defaultBuildOriginBranchWithPR
Deprecated.
|
static boolean |
defaultBuildOriginPRHead
Deprecated.
|
static boolean |
defaultBuildOriginPRMerge
Deprecated.
|
static String |
defaultExcludes
Deprecated.
|
static String |
defaultIncludes
Deprecated.
|
static String |
SAME |
categories
clazz
Constructor and Description |
---|
DescriptorImpl() |
getCategories, getCategoryId
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, 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
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final String defaultIncludes
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final String defaultExcludes
public static final String SAME
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final boolean defaultBuildOriginBranch
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final boolean defaultBuildOriginBranchWithPR
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final boolean defaultBuildOriginPRMerge
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final boolean defaultBuildOriginPRHead
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final boolean defaultBuildForkPRMerge
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public static final boolean defaultBuildForkPRHead
public String getPronoun()
getPronoun
in class jenkins.scm.api.SCMNavigatorDescriptor
public String getDisplayName()
getDisplayName
in class Descriptor<jenkins.scm.api.SCMNavigator>
public String getDescription()
getDescription
in class jenkins.scm.api.SCMNavigatorDescriptor
public String getIconFilePathPattern()
getIconFilePathPattern
in class jenkins.scm.api.SCMNavigatorDescriptor
public String getIconClassName()
getIconClassName
in interface org.jenkins.ui.icon.IconSpec
getIconClassName
in class jenkins.scm.api.SCMNavigatorDescriptor
public jenkins.scm.api.SCMNavigator newInstance(String name)
newInstance
in class jenkins.scm.api.SCMNavigatorDescriptor
@NonNull protected jenkins.scm.api.SCMSourceCategory[] createCategories()
createCategories
in class jenkins.scm.api.SCMNavigatorDescriptor
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath Item context, @QueryParameter String apiUri, @QueryParameter String credentialsId)
context
- the context.apiUri
- the end-point.credentialsId
- the credentials.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillCredentialsIdItems(@CheckForNull @AncestorInPath Item context, @QueryParameter String apiUri, @QueryParameter String credentialsId)
context
- the context.apiUri
- the end-point.credentialsId
- the existing selection;@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillApiUriItems()
public boolean isApiUriSelectable()
true
if there is more than one GitHub endpoint configured, and consequently the UI should
provide the ability to select the endpoint.true
if there is more than one GitHub endpoint configured.public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMTraitDescriptor<?>>> getTraitsDescriptorLists()
SCMTraitDescriptor
instances grouped into categories.SCMTraitDescriptor
instances.public List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>> getTraitsDefaults()
getTraitsDefaults
in class jenkins.scm.api.SCMNavigatorDescriptor
Copyright © 2016–2019. All rights reserved.