public class MultiJobProject extends hudson.model.Project<MultiJobProject,MultiJobBuild> implements hudson.model.TopLevelItem
Modifier and Type | Class and Description |
---|---|
static class |
MultiJobProject.DescriptorImpl |
hudson.model.AbstractProject.AbstractProjectDescriptor, hudson.model.AbstractProject.BecauseOfBuildInProgress, hudson.model.AbstractProject.BecauseOfDownstreamBuildInProgress, hudson.model.AbstractProject.BecauseOfUpstreamBuildInProgress, hudson.model.AbstractProject.LabelValidator
hudson.model.Job.LastItemListener, hudson.model.Job.SubItemBuildsLocationImpl
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static MultiJobProject.DescriptorImpl |
DESCRIPTOR |
ABORT, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, BUILD_NOW_TEXT, builds, disabled, transientActions, triggers
HISTORY_ADAPTER, nextBuildNumber, properties, runIdMigrator
description, displayName, name, PRONOUN, TASK_NOUN
Constructor and Description |
---|
MultiJobProject(hudson.model.Hudson parent,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph) |
protected Class<MultiJobBuild> |
getBuildClass() |
boolean |
getCheckResumeEnvVars() |
MultiJobProject.DescriptorImpl |
getDescriptor() |
boolean |
getPollSubjobs() |
String |
getPronoun() |
String |
getResumeEnvVars() |
String |
getRootUrl() |
MultiJobView |
getView() |
boolean |
isTopMost() |
hudson.scm.PollingResult |
poll(hudson.model.TaskListener listener) |
boolean |
scheduleBuild() |
boolean |
scheduleBuild(hudson.model.Cause c) |
boolean |
scheduleBuild(int quietPeriod) |
boolean |
scheduleBuild(int quietPeriod,
hudson.model.Cause c) |
void |
setPollSubjobs(boolean poll) |
void |
setResumeEnvVars(String resumeEnvVars) |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
addPublisher, asItem, asProject, createTransientActions, getBuilders, getBuildersList, getBuildWrappers, getBuildWrappersList, getPublisher, getPublishers, getPublishersList, getResourceActivities, getSCMs, getSCMTrigger, inferMavenInstallation, isFingerprintConfigured, onLoad, removePublisher
_getRuns, addProperty, addToList, addTrigger, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, checkAbortPermission, checkout, createExecutable, createHistoryWidget, disable, doBuild, doBuildWithParameters, doCheckRetryCount, doConfigSubmit, doDoWipeOutWorkspace, doPolling, doWs, enable, findNearest, findNearest, getActions, getAssignedLabel, getAssignedLabelString, getAuthToken, getBuild, getBuildByNumber, getBuildingDownstream, getBuildingUpstream, getBuildNowText, getBuildTriggerUpstreamProjects, getCauseOfBlockage, getCustomWorkspace, getDelay, getDownstreamProjects, getDownstreamProjectsForApi, getEnvironment, getFirstBuild, getHasCustomQuietPeriod, getIconColor, getJDK, getLastBuild, getLastBuiltOn, getLazyBuildMixIn, getModuleRoot, getModuleRoots, getNearestBuild, getNearestOldBuild, getProminentActions, getQueueItem, getQuietPeriod, getRelationship, getRelevantLabels, getResourceList, getRootProject, getSameNodeConstraint, getScm, getScmCheckoutRetryCount, getScmCheckoutStrategy, getSomeBuildWithWorkspace, getSomeWorkspace, getSubTasks, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getUpstreamProjectsForApi, getWorkspace, getWorkspaceResource, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isBuildable, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, loadBuild, makeSearchIndex, newBuild, onCreatedFromScratch, performDelete, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, save, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setAssignedNode, setBlockBuildWhenDownstreamBuilding, setBlockBuildWhenUpstreamBuilding, setConcurrentBuild, setCustomWorkspace, setDisabled, setJDK, setQuietPeriod, setScm, setScmCheckoutStrategy, supportsMakeDisabled, triggers, updateTransientActions
assignBuildNumber, checkRename, delete, doBuildStatus, doChildrenContextMenu, doDescription, doDoRename, doRssAll, doRssChangelog, doRssFailed, getACL, getAllJobs, getAllProperties, getBuildDir, getBuildDiscarder, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusIconClassName, getBuildStatusUrl, getBuildTimeGraph, getCharacteristicEnvVars, getDynamic, getEstimatedDuration, getEstimatedDurationCandidates, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getLogRotator, getNewBuilds, getNextBuildNumber, getOverrides, getPermalinks, getProperties, getProperty, getProperty, getTimeline, getWidgets, isBuilding, isHoldOffBuildUntilSave, isKeepDependencies, isLogUpdated, isNameEditable, logRotate, movedTo, onCopiedFrom, removeProperty, removeProperty, renameTo, saveNextBuildNumber, setBuildDiscarder, setLogRotator, supportsLogRotator, updateNextBuildNumber
delete, doCheckNewName, doConfigDotXml, doConfirmRename, doDoDelete, doReload, doSetName, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getRelativeDisplayNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getTaskNoun, getUrl, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXml
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getAllActions, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
delete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, save
getSearchIndex, getSearchName, getSearchUrl
checkPermission, getACL, hasPermission, hasPermission
getNextBuildNumber, getQuietPeriod, scheduleBuild2, schedulePolling
checkAbortPermission, getCauseOfBlockage, getDefaultAuthentication, getDefaultAuthentication, getFullDisplayName, getName, getSubTasks, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlocked, isConcurrentBuild
createExecutable, getAssignedLabel, getEstimatedDuration, getLastBuiltOn, getOwnerTask, getSameNodeConstraint
@Extension(ordinal=1000.0) public static final MultiJobProject.DescriptorImpl DESCRIPTOR
public MultiJobProject(hudson.model.Hudson parent, String name)
protected Class<MultiJobBuild> getBuildClass()
getBuildClass
in class hudson.model.AbstractProject<MultiJobProject,MultiJobBuild>
public String getPronoun()
getPronoun
in class hudson.model.AbstractProject<MultiJobProject,MultiJobBuild>
public MultiJobProject.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.model.TopLevelItem>
getDescriptor
in interface hudson.model.TopLevelItem
protected void buildDependencyGraph(hudson.model.DependencyGraph graph)
buildDependencyGraph
in class hudson.model.Project<MultiJobProject,MultiJobBuild>
public boolean isTopMost()
public MultiJobView getView()
public String getRootUrl()
public hudson.scm.PollingResult poll(hudson.model.TaskListener listener)
poll
in interface jenkins.triggers.SCMTriggerItem
poll
in class hudson.model.AbstractProject<MultiJobProject,MultiJobBuild>
public boolean getPollSubjobs()
public void setPollSubjobs(boolean poll)
public String getResumeEnvVars()
public void setResumeEnvVars(String resumeEnvVars)
public boolean getCheckResumeEnvVars()
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 hudson.model.Project<MultiJobProject,MultiJobBuild>
IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
public boolean scheduleBuild(hudson.model.Cause c)
scheduleBuild
in interface hudson.model.BuildableItem
scheduleBuild
in interface jenkins.model.ParameterizedJobMixIn.ParameterizedJob<MultiJobProject,MultiJobBuild>
public boolean scheduleBuild(int quietPeriod, hudson.model.Cause c)
scheduleBuild
in interface hudson.model.BuildableItem
scheduleBuild
in interface jenkins.model.ParameterizedJobMixIn.ParameterizedJob<MultiJobProject,MultiJobBuild>
public boolean scheduleBuild(int quietPeriod)
scheduleBuild
in interface hudson.model.BuildableItem
public boolean scheduleBuild()
scheduleBuild
in interface hudson.model.BuildableItem
Copyright © 2016–2020. All rights reserved.