public final class MavenMultiBranchProject extends TemplateDrivenMultiBranchProject<hudson.maven.MavenModuleSet,hudson.maven.MavenModuleSetBuild>
Modifier and Type | Class and Description |
---|---|
static class |
MavenMultiBranchProject.DescriptorImpl
MavenMultiBranchProject 's descriptor. |
TemplateDrivenMultiBranchProject.BranchProjectItemListener, TemplateDrivenMultiBranchProject.BranchProjectSaveListener
jenkins.branch.MultiBranchProject.BranchIndexing<P extends hudson.model.Job<P,R> & hudson.model.TopLevelItem,R extends hudson.model.Run<P,R>>, jenkins.branch.MultiBranchProject.SCMEventListenerImpl, jenkins.branch.MultiBranchProject.StateActionFactory
com.cloudbees.hudson.plugins.folder.AbstractFolder.ItemListenerImpl, com.cloudbees.hudson.plugins.folder.AbstractFolder.RunListenerImpl
disabled, template, TEMPLATE
Constructor and Description |
---|
MavenMultiBranchProject(hudson.model.ItemGroup parent,
String name)
Constructor that specifies the
ItemGroup for this project and the project name. |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckFileInWorkspace(String value)
Stapler URL binding used by the configure page to check the location of the POM, alternate settings file, etc -
any file.
|
jenkins.branch.MultiBranchProjectDescriptor |
getDescriptor() |
protected jenkins.branch.BranchProjectFactory<hudson.maven.MavenModuleSet,hudson.maven.MavenModuleSetBuild> |
newProjectFactory() |
protected hudson.maven.MavenModuleSet |
newTemplate()
Should create a new project using this
TemplateDrivenMultiBranchProject as the parent and
TemplateDrivenMultiBranchProject.TEMPLATE as the name. |
static void |
registerXStream()
Gives this class an alias for configuration XML.
|
disable, doDisable, doEnable, enable, enforceProjectStateOnUpdated, getFirstBuild, getLastBuild, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getPronoun, getRootDirFor, getTemplate, getTemplateDir, getViewDescriptors, init3, initViews, isBuildable, isConfigurable, isDisabled, makeDisabled, onCopiedFrom, onLoad, submit, supportsMakeDisabled
computeChildren, createComputation, getACL, getBranch, getBranchPropertyStrategy, getComputationDir, getDescription, getDisplayName, getIconClassName, getIndexing, getItem, getItemByBranchName, getJobsDir, getProjectClass, getProjectFactory, getSCMSource, getSCMSourceCriteria, getSCMSources, getSources, getSourcesList, getView, getWelcomeView, isHasEvents, newDefaultFolderIcon, newFolderViewHolder, onSCMSourceUpdated, orphanedItems, rawDecode, setProjectFactory, setSourcesList
addTrigger, checkAbortPermission, createEventsChildObserver, createExecutable, doBuild, doConfigSubmit, getActions, getAssignedLabel, getCauseOfBlockage, getComputation, getDefaultAuthentication, getDefaultAuthentication, getEstimatedDuration, getLastBuiltOn, getOrphanedItemStrategy, getOrphanedItemStrategyDescriptors, getOwnerTask, getResourceList, getSameNodeConstraint, getSubTasks, getSuccessfulDestination, getTriggers, getWhyBlocked, hasAbortPermission, init, isBuildBlocked, isConcurrentBuild, onCreatedFromScratch, recalculateAfterSubmitted, renameBlocker, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, setOrphanedItemStrategy
addAction, addOrReplaceAction, addProperty, addView, canDelete, delete, deleteView, doChildrenContextMenu, doCreateView, doDoRename, doLastBuild, doSubmitDescription, doViewExistsCheck, getAllJobs, getBuildHealth, getBuildHealthReports, getFolderViews, getHealthMetrics, getIcon, getIconColor, getItemGroup, getItems, getJob, getOverrides, getPrimaryView, getProperties, getRootDirFor, getStaplerFallback, getUrlChildPrefix, getViewActions, getViews, getViewsTabBar, invalidateBuildHealthReports, itemsPut, loadChildren, loadJobTotal, makeSearchIndex, newDefaultViewsTabBar, onDeleted, onRenamed, onViewRenamed, removeAction, removeActions, renameTo, replaceAction, replaceActions, resetFolderViews, save, setIcon, setPrimaryView
checkPermission, delete, doConfigDotXml, doDoDelete, doReload, doSetName, getAbsoluteUrl, getApi, getConfigFile, getDescriptorByName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getRelativeDisplayNameFrom, getRelativeNameFrom, getRelativeNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getUrl, hasPermission, movedTo, 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
getSCMSource, getSCMSourceCriteria, getSCMSources, onSCMSourceUpdated
delete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCreatedFromScratch, save
getSearchIndex, getSearchName, getSearchUrl
public MavenMultiBranchProject(hudson.model.ItemGroup parent, String name)
ItemGroup
for this project and the project name.parent
- the project's parent ItemGroup
name
- the project's nameprotected hudson.maven.MavenModuleSet newTemplate()
TemplateDrivenMultiBranchProject
TemplateDrivenMultiBranchProject
as the parent and
TemplateDrivenMultiBranchProject.TEMPLATE
as the name.newTemplate
in class TemplateDrivenMultiBranchProject<hudson.maven.MavenModuleSet,hudson.maven.MavenModuleSetBuild>
TemplateDrivenMultiBranchProject.template
.@Nonnull protected jenkins.branch.BranchProjectFactory<hudson.maven.MavenModuleSet,hudson.maven.MavenModuleSetBuild> newProjectFactory()
newProjectFactory
in class jenkins.branch.MultiBranchProject<hudson.maven.MavenModuleSet,hudson.maven.MavenModuleSetBuild>
@Nonnull public jenkins.branch.MultiBranchProjectDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.model.TopLevelItem>
getDescriptor
in interface hudson.model.TopLevelItem
getDescriptor
in class jenkins.branch.MultiBranchProject<hudson.maven.MavenModuleSet,hudson.maven.MavenModuleSetBuild>
public hudson.util.FormValidation doCheckFileInWorkspace(@QueryParameter String value)
value
- file to check@Initializer(before=PLUGINS_STARTED) public static void registerXStream()
Copyright © 2016–2017. All rights reserved.