@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.SCMSourceOwner
MultiBranchProjects, one per repository.| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationFolder.DescriptorImpl |
| 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) |
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() |
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 branch indexed.
|
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) |
<T> T |
withSCMSourceCriteria(jenkins.scm.api.SCMSource source,
jenkins.scm.api.SCMSourceCriteria criteria,
Callable<T> body) |
addTrigger, checkAbortPermission, createComputation, 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, renameBlocker, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, setOrphanedItemStrategyaddAction, addProperty, addView, canDelete, deleteView, doChildrenContextMenu, doCreateView, doDoRename, doLastBuild, doSubmitDescription, doViewExistsCheck, getAllJobs, getBuildHealth, getBuildHealthReports, getDescriptor, getHealthMetrics, getIcon, getIconColor, getItem, getItemGroup, getItems, getJob, getJobsDir, getOverrides, getPronoun, getProperties, getRootDirFor, getRootDirFor, getStaplerFallback, getUrlChildPrefix, getViewActions, getViews, getViewsTabBar, initViews, loadJobTotal, makeSearchIndex, onDeleted, onRenamed, onViewRenamed, performDelete, renameTo, replaceAction, save, setIcon, setPrimaryViewcheckPermission, delete, delete, doConfigDotXml, doDoDelete, doReload, doSetName, getAbsoluteUrl, getACL, getApi, getConfigFile, getDescription, getDescriptorByName, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getRelativeDisplayNameFrom, getRelativeNameFrom, getRelativeNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getUrl, hasPermission, movedTo, onCopiedFrom, resolveForCLI, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXmldoContextMenu, getAction, getAction, getActions, getAllActions, getDynamicgetSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, savegetSearchIndex, getSearchName, getSearchUrlpublic OrganizationFolder(hudson.model.ItemGroup parent,
String name)
public void onCreatedFromScratch()
onCreatedFromScratch in interface hudson.model.ItemonCreatedFromScratch in class hudson.model.AbstractItempublic void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name)
throws IOException
onLoad in interface hudson.model.ItemonLoad in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>IOExceptionpublic hudson.util.DescribableList<jenkins.scm.api.SCMNavigator,jenkins.scm.api.SCMNavigatorDescriptor> getNavigators()
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<?,?>>IOExceptionjavax.servlet.ServletExceptionhudson.model.Descriptor.FormExceptionprotected 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<?,?>>IOExceptionInterruptedExceptionpublic List<jenkins.scm.api.SCMSource> getSCMSources()
getSCMSources in interface jenkins.scm.api.SCMSourceOwnerpublic jenkins.scm.api.SCMSource getSCMSource(String sourceId)
getSCMSource in interface jenkins.scm.api.SCMSourceOwnerpublic void onSCMSourceUpdated(jenkins.scm.api.SCMSource source)
onSCMSourceUpdated in interface jenkins.scm.api.SCMSourceOwnerpublic jenkins.scm.api.SCMSourceCriteria getSCMSourceCriteria(jenkins.scm.api.SCMSource source)
getSCMSourceCriteria in interface jenkins.scm.api.SCMSourceOwnerpublic <T> T withSCMSourceCriteria(jenkins.scm.api.SCMSource source,
jenkins.scm.api.SCMSourceCriteria criteria,
Callable<T> body)
throws Exception
Exceptionpublic hudson.model.View getPrimaryView()
getPrimaryView in interface hudson.model.ViewGroupgetPrimaryView 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.ViewGroupgetView in class com.cloudbees.hudson.plugins.folder.AbstractFolder<MultiBranchProject<?,?>>Copyright © 2016. All rights reserved.