|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.AbstractItem
hudson.model.Job<P,R>
hudson.model.AbstractProject<PromotionProcess,Promotion>
hudson.plugins.promoted_builds.PromotionProcess
public final class PromotionProcess
A dummy AbstractProject to carry out promotion operations.
| 入れ子のクラスの概要 |
|---|
| クラス hudson.model.AbstractProject から継承された入れ子のクラス/インタフェース |
|---|
hudson.model.AbstractProject.AbstractProjectDescriptor, hudson.model.AbstractProject.BecauseOfBuildInProgress, hudson.model.AbstractProject.BecauseOfUpstreamBuildInProgress |
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| フィールドの概要 | |
|---|---|
hudson.util.DescribableList<PromotionCondition,PromotionConditionDescriptor> |
conditions
PromotionConditions. |
java.lang.String |
icon
The icon that represents this promotion process. |
| クラス hudson.model.AbstractProject から継承されたフィールド |
|---|
ABORT, blockBuildWhenUpstreamBuilding, builds, disabled, transientActions, triggers |
| クラス hudson.model.Job から継承されたフィールド |
|---|
HISTORY_ADAPTER, nextBuildNumber, properties |
| クラス hudson.model.AbstractItem から継承されたフィールド |
|---|
description, name |
| インタフェース hudson.model.Saveable から継承されたフィールド |
|---|
NOOP |
| インタフェース hudson.model.Item から継承されたフィールド |
|---|
BUILD, CONFIGURE, CREATE, DELETE, EXTENDED_READ, PERMISSIONS, READ, WORKSPACE |
| メソッドの概要 | |
|---|---|
hudson.model.PermalinkProjectAction.Permalink |
asPermalink()
|
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph)
|
boolean |
considerPromotion(hudson.model.AbstractBuild<?,?> build)
Checks if the build is promotable, and if so, promote it. |
static java.util.List<hudson.model.Descriptor<? extends hudson.tasks.BuildStep>> |
getAll()
|
hudson.model.Label |
getAssignedLabel()
|
protected java.lang.Class<Promotion> |
getBuildClass()
|
java.util.List<hudson.tasks.BuildStep> |
getBuildSteps()
|
java.lang.String |
getCustomWorkspace()
Gets the customWorkspace of the owner project. |
java.lang.String |
getIcon()
Get the icon name, without the extension. |
hudson.model.JDK |
getJDK()
|
hudson.model.AbstractProject<?,?> |
getOwner()
Gets the owner AbstractProject that configured JobPropertyImpl as
a job property. |
JobPropertyImpl |
getParent()
|
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishersList()
|
hudson.model.AbstractProject |
getRootProject()
Returns the root project value. |
boolean |
isFingerprintConfigured()
|
boolean |
isInQueue(hudson.model.AbstractBuild<?,?> build)
|
Status |
isMet(hudson.model.AbstractBuild<?,?> build)
Checks if all the conditions to promote a build is met. |
void |
promote(hudson.model.AbstractBuild<?,?> build,
hudson.model.Cause cause,
Status qualification)
Promote the given build by using the given qualification. |
boolean |
scheduleBuild()
推奨されていません。 You need to be using scheduleBuild(AbstractBuild) |
boolean |
scheduleBuild(hudson.model.AbstractBuild<?,?> build)
|
boolean |
scheduleBuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.Cause cause)
|
| クラス hudson.model.AbstractProject から継承されたメソッド |
|---|
_getRuns, addProperty, addToList, addTrigger, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, checkAbortPermission, checkout, createExecutable, createHistoryWidget, disable, doBuild, doBuildWithParameters, doCancelQueue, doCheckRetryCount, doConfigSubmit, doDisable, doDoWipeOutWorkspace, doEnable, doPolling, doRssChangelog, doWs, enable, findNearest, getActions, getAuthToken, getBuildingUpstream, getBuildTriggerUpstreamProjects, getCauseOfBlockage, getDelay, getDownstreamProjects, getEstimatedDuration, getHasCustomQuietPeriod, getIconColor, getLastBuiltOn, getModuleRoot, getModuleRoots, getProminentActions, getPronoun, getQueueItem, getQuietPeriod, getRelationship, getResourceActivities, getResourceList, getScm, getScmCheckoutRetryCount, getSomeBuildWithWorkspace, getSomeWorkspace, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getWhyBlocked, getWorkspace, getWorkspaceResource, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isBuildable, isBuildBlocked, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, isParameterized, loadBuild, makeDisabled, makeSearchIndex, newBuild, onLoad, performDelete, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setAssignedNode, setBlockBuildWhenUpstreamBuilding, setConcurrentBuild, setJDK, setQuietPeriod, setScm, submit, updateTransientActions |
| クラス hudson.model.Job から継承されたメソッド |
|---|
assignBuildNumber, doBuildStatus, doConfigDotXml, doDescription, doDoRename, doRssAll, doRssFailed, doTimelineData, getACL, getAllJobs, getAllProperties, getBuild, getBuildByNumber, getBuildDir, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusUrl, getBuildTimeGraph, getDynamic, getFirstBuild, getLastBuild, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getLogRotator, getNearestBuild, getNearestOldBuild, getNextBuildNumber, getPermalinks, getProperties, getProperty, getWidgets, isBuilding, isHoldOffBuildUntilSave, isKeepDependencies, isNameEditable, logRotate, onCopiedFrom, removeProperty, removeProperty, renameTo, save, saveNextBuildNumber, setLogRotator, supportsLogRotator, updateNextBuildNumber |
| クラス hudson.model.AbstractItem から継承されたメソッド |
|---|
checkPermission, delete, delete, doDoDelete, doSetName, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDescriptorByName, getDisplayName, getFullDisplayName, getFullName, getName, getRootDir, getSearchUrl, getShortUrl, getUrl, hasPermission, setDescription, toString |
| クラス hudson.model.Actionable から継承されたメソッド |
|---|
addAction, getAction, getAction, getActions |
| クラス hudson.model.AbstractModelObject から継承されたメソッド |
|---|
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース hudson.model.Saveable から継承されたメソッド |
|---|
save |
| インタフェース hudson.model.Item から継承されたメソッド |
|---|
delete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getShortUrl, getUrl, onCopiedFrom, save |
| インタフェース hudson.model.PersistenceRoot から継承されたメソッド |
|---|
getRootDir |
| インタフェース hudson.search.SearchableModelObject から継承されたメソッド |
|---|
getSearch |
| インタフェース hudson.search.SearchItem から継承されたメソッド |
|---|
getSearchIndex, getSearchName, getSearchUrl |
| インタフェース hudson.security.AccessControlled から継承されたメソッド |
|---|
checkPermission, getACL, hasPermission |
| インタフェース hudson.model.Queue.Task から継承されたメソッド |
|---|
getFullDisplayName, getName, getUrl |
| インタフェース hudson.model.ResourceActivity から継承されたメソッド |
|---|
getDisplayName |
| フィールドの詳細 |
|---|
public final hudson.util.DescribableList<PromotionCondition,PromotionConditionDescriptor> conditions
PromotionConditions. All have to be met for a build to be promoted.
public java.lang.String icon
"star-gold".
| メソッドの詳細 |
|---|
public hudson.model.AbstractProject getRootProject()
hudson.model.AbstractProject<PromotionProcess,Promotion> 内の getRootProjectpublic JobPropertyImpl getParent()
hudson.model.Item 内の getParenthudson.model.AbstractItem 内の getParentpublic hudson.model.AbstractProject<?,?> getOwner()
AbstractProject that configured JobPropertyImpl as
a job property.
public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishersList()
hudson.model.AbstractProject<PromotionProcess,Promotion> 内の getPublishersListprotected java.lang.Class<Promotion> getBuildClass()
hudson.model.AbstractProject<PromotionProcess,Promotion> 内の getBuildClasspublic java.util.List<hudson.tasks.BuildStep> getBuildSteps()
public hudson.model.Label getAssignedLabel()
hudson.model.Queue.Task 内の getAssignedLabelhudson.model.AbstractProject<PromotionProcess,Promotion> 内の getAssignedLabelpublic hudson.model.JDK getJDK()
hudson.model.AbstractProject<PromotionProcess,Promotion> 内の getJDKpublic java.lang.String getCustomWorkspace()
public java.lang.String getIcon()
"star-gold" is used for compatibility
for older promotions configurations.
public Status isMet(hudson.model.AbstractBuild<?,?> build)
public boolean considerPromotion(hudson.model.AbstractBuild<?,?> build)
throws java.io.IOException
java.io.IOException
public void promote(hudson.model.AbstractBuild<?,?> build,
hudson.model.Cause cause,
Status qualification)
throws java.io.IOException
cause - Why the build is promoted?
java.io.IOExceptionpublic boolean scheduleBuild()
scheduleBuild(AbstractBuild)
hudson.model.BuildableItem 内の scheduleBuildhudson.model.AbstractProject<PromotionProcess,Promotion> 内の scheduleBuildpublic boolean scheduleBuild(hudson.model.AbstractBuild<?,?> build)
public boolean scheduleBuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.Cause cause)
public boolean isInQueue(hudson.model.AbstractBuild<?,?> build)
public boolean isFingerprintConfigured()
hudson.model.AbstractProject<PromotionProcess,Promotion> 内の isFingerprintConfiguredprotected void buildDependencyGraph(hudson.model.DependencyGraph graph)
hudson.model.AbstractProject<PromotionProcess,Promotion> 内の buildDependencyGraphpublic static java.util.List<hudson.model.Descriptor<? extends hudson.tasks.BuildStep>> getAll()
public hudson.model.PermalinkProjectAction.Permalink asPermalink()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||