@Extension
public static class FreeStyleBranchProject.DescriptorImpl
extends hudson.model.AbstractProject.AbstractProjectDescriptor
TopLevelItem in order to be shown
in the multi-branch project's branch list, but TopLevelItems are
also shown in the new job list. This hack will remove this project type
from the new job list.| Constructor and Description |
|---|
FreeStyleBranchProject.DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
hudson.model.TopLevelItem |
newInstance(hudson.model.ItemGroup parent,
String name) |
static void |
postInitialize()
Method that removes this descriptor from the list of
TopLevelItemDescriptors because we don't want to appear
as one. |
doAutoCompleteAssignedLabelString, doAutoCompleteUpstreamProjects, doCheckAssignedLabelString, doCheckCustomWorkspace, getApplicableSCMCheckoutStrategyDescriptors, isApplicableall, newInstance, newInstance, testInstanceaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic FreeStyleBranchProject.DescriptorImpl()
public String getDisplayName()
getDisplayName in class hudson.model.TopLevelItemDescriptorpublic hudson.model.TopLevelItem newInstance(hudson.model.ItemGroup parent,
String name)
newInstance in class hudson.model.TopLevelItemDescriptor@Initializer(after=JOB_LOADED,
before=COMPLETED)
public static void postInitialize()
TopLevelItemDescriptors because we don't want to appear
as one.Copyright © 2004-2014. All Rights Reserved.