@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class OrganizationFolder extends com.cloudbees.hudson.plugins.folder.computed.ComputedFolder<MultiBranchProject<?,?>> implements jenkins.scm.api.SCMNavigatorOwner, org.jenkins.ui.icon.IconSpec
MultiBranchProject
s, one per repository.Modifier and Type | Class and Description |
---|---|
static class |
OrganizationFolder.DescriptorImpl
Our descriptor
|
static class |
OrganizationFolder.OrganizationScan
Our scan.
|
static class |
OrganizationFolder.SCMEventListenerImpl
Listens for events from the SCM event system.
|
static class |
OrganizationFolder.StateActionFactory
Adds the
OrganizationFolder.State.getActions() to Actionable.getAllActions() . |
com.cloudbees.hudson.plugins.folder.AbstractFolder.ItemListenerImpl, com.cloudbees.hudson.plugins.folder.AbstractFolder.RunListenerImpl
Constructor and Description |
---|
OrganizationFolder(hudson.model.ItemGroup parent,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
computeChildren(com.cloudbees.hudson.plugins.folder.computed.ChildObserver<MultiBranchProject<?,?>> observer,
hudson.model.TaskListener listener) |
protected com.cloudbees.hudson.plugins.folder.computed.FolderComputation<MultiBranchProject<?,?>> |
createComputation(com.cloudbees.hudson.plugins.folder.computed.FolderComputation<MultiBranchProject<?,?>> previous) |
String |
getDescription() |
String |
getDisplayName() |
String |
getIconClassName() |
hudson.util.DescribableList<jenkins.scm.api.SCMNavigator,jenkins.scm.api.SCMNavigatorDescriptor> |
getNavigators() |
hudson.model.View |
getPrimaryView()
Will create an specialized view when there are no repositories or branches found, which contain a Jenkinsfile
or other MARKER file.
|
hudson.util.DescribableList<MultiBranchProjectFactory,MultiBranchProjectFactoryDescriptor> |
getProjectFactories() |
String |
getPronoun() |
List<jenkins.scm.api.SCMNavigator> |
getSCMNavigators() |
jenkins.scm.api.SCMSource |
getSCMSource(String sourceId) |
jenkins.scm.api.SCMSourceCriteria |
getSCMSourceCriteria(jenkins.scm.api.SCMSource source) |
List<jenkins.scm.api.SCMSource> |
getSCMSources() |
hudson.model.View |
getView(String name) |
protected hudson.model.View |
getWelcomeView()
Creates a place-holder view when there's no active repositories indexed.
|
boolean |
isHasEvents() |
protected com.cloudbees.hudson.plugins.folder.FolderIcon |
newDefaultFolderIcon() |
protected com.cloudbees.hudson.plugins.folder.views.AbstractFolderViewHolder |
newFolderViewHolder() |
void |
onCreatedFromScratch() |
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name) |
void |
onSCMSourceUpdated(jenkins.scm.api.SCMSource source) |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
addTrigger, checkAbortPermission, createEventsChildObserver, createExecutable, doBuild, doConfigSubmit, getActions, getAssignedLabel, getCauseOfBlockage, getComputation, getComputationDir, getDefaultAuthentication, getDefaultAuthentication, getEstimatedDuration, getLastBuiltOn, getOrphanedItemStrategy, getOrphanedItemStrategyDescriptors, getOwnerTask, getResourceList, getSameNodeConstraint, getSubTasks, getSuccessfulDestination, getTriggers, getWhyBlocked, hasAbortPermission, init, isBuildable, isBuildBlocked, isConcurrentBuild, orphanedItems, recalculateAfterSubmitted, renameBlocker, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, setOrphanedItemStrategy
addAction, addOrReplaceAction, addProperty, addView, canDelete, delete, deleteView, doChildrenContextMenu, doCreateView, doDoRename, doLastBuild, doSubmitDescription, doViewExistsCheck, getAllJobs, getBuildHealth, getBuildHealthReports, getDescriptor, getFolderViews, getHealthMetrics, getIcon, getIconColor, getItem, getItemGroup, getItems, getJob, getJobsDir, getOverrides, getProperties, getRootDirFor, getRootDirFor, getStaplerFallback, getUrlChildPrefix, getViewActions, getViews, getViewsTabBar, initViews, invalidateBuildHealthReports, loadJobTotal, makeSearchIndex, newDefaultViewsTabBar, onDeleted, onRenamed, onViewRenamed, removeAction, removeActions, renameTo, replaceAction, replaceActions, resetFolderViews, save, setIcon, setPrimaryView
checkPermission, delete, doConfigDotXml, doDoDelete, doReload, doSetName, getAbsoluteUrl, getACL, getApi, getConfigFile, getDescriptorByName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getRelativeDisplayNameFrom, getRelativeNameFrom, getRelativeNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getUrl, hasPermission, movedTo, onCopiedFrom, performDelete, resolveForCLI, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml
doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic
getSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
delete, getAbsoluteUrl, getAllJobs, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, save
getSearchIndex, getSearchName, getSearchUrl
public OrganizationFolder(hudson.model.ItemGroup parent, String name)
public void onCreatedFromScratch()
onCreatedFromScratch
in interface hudson.model.Item
onCreatedFromScratch
in class hudson.model.AbstractItem
public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent, String name) throws IOException
onLoad
in interface hudson.model.Item
onLoad
in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>
IOException
public hudson.util.DescribableList<jenkins.scm.api.SCMNavigator,jenkins.scm.api.SCMNavigatorDescriptor> getNavigators()
@NonNull public List<jenkins.scm.api.SCMNavigator> getSCMNavigators()
getSCMNavigators
in interface jenkins.scm.api.SCMNavigatorOwner
public hudson.util.DescribableList<MultiBranchProjectFactory,MultiBranchProjectFactoryDescriptor> getProjectFactories()
protected void submit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, hudson.model.Descriptor.FormException
submit
in class com.cloudbees.hudson.plugins.folder.computed.ComputedFolder<MultiBranchProject<?,?>>
IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
@Nonnull protected com.cloudbees.hudson.plugins.folder.computed.FolderComputation<MultiBranchProject<?,?>> createComputation(@CheckForNull com.cloudbees.hudson.plugins.folder.computed.FolderComputation<MultiBranchProject<?,?>> previous)
createComputation
in class com.cloudbees.hudson.plugins.folder.computed.ComputedFolder<MultiBranchProject<?,?>>
public boolean isHasEvents()
isHasEvents
in class com.cloudbees.hudson.plugins.folder.computed.ComputedFolder<MultiBranchProject<?,?>>
protected void computeChildren(com.cloudbees.hudson.plugins.folder.computed.ChildObserver<MultiBranchProject<?,?>> observer, hudson.model.TaskListener listener) throws IOException, InterruptedException
computeChildren
in class com.cloudbees.hudson.plugins.folder.computed.ComputedFolder<MultiBranchProject<?,?>>
IOException
InterruptedException
protected com.cloudbees.hudson.plugins.folder.views.AbstractFolderViewHolder newFolderViewHolder()
newFolderViewHolder
in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>
protected com.cloudbees.hudson.plugins.folder.FolderIcon newDefaultFolderIcon()
newDefaultFolderIcon
in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>
public String getIconClassName()
getIconClassName
in interface org.jenkins.ui.icon.IconSpec
public String getPronoun()
getPronoun
in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>
public List<jenkins.scm.api.SCMSource> getSCMSources()
getSCMSources
in interface jenkins.scm.api.SCMSourceOwner
public jenkins.scm.api.SCMSource getSCMSource(String sourceId)
getSCMSource
in interface jenkins.scm.api.SCMSourceOwner
public void onSCMSourceUpdated(jenkins.scm.api.SCMSource source)
onSCMSourceUpdated
in interface jenkins.scm.api.SCMSourceOwner
public jenkins.scm.api.SCMSourceCriteria getSCMSourceCriteria(jenkins.scm.api.SCMSource source)
getSCMSourceCriteria
in interface jenkins.scm.api.SCMSourceOwner
public hudson.model.View getPrimaryView()
getPrimaryView
in interface hudson.model.ViewGroup
getPrimaryView
in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>
protected hudson.model.View getWelcomeView()
public hudson.model.View getView(String name)
getView
in interface hudson.model.ViewGroup
getView
in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>
public String getDescription()
getDescription
in class hudson.model.AbstractItem
public String getDisplayName()
getDisplayName
in interface hudson.model.Item
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in interface hudson.model.ResourceActivity
getDisplayName
in class hudson.model.AbstractItem
Copyright © 2016–2017. All rights reserved.