|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Run<P,R>
hudson.model.AbstractBuild<PromotionProcess,Promotion>
hudson.plugins.promoted_builds.Promotion
public class Promotion
Records a promotion process.
| Nested Class Summary | |
|---|---|
protected class |
Promotion.RunnerImpl
|
| Nested classes/interfaces inherited from class hudson.model.AbstractBuild |
|---|
hudson.model.AbstractBuild.AbstractRunner, hudson.model.AbstractBuild.DependencyChange |
| Nested classes/interfaces inherited from class hudson.model.Run |
|---|
hudson.model.Run.Artifact, hudson.model.Run.ArtifactList, hudson.model.Run.KeepLogBuildBadge, hudson.model.Run.RedirectUp, hudson.model.Run.Runner, hudson.model.Run.RunnerAbortedException, hudson.model.Run.Summary |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static hudson.security.PermissionGroup |
PERMISSIONS
|
static hudson.security.Permission |
PROMOTE
|
| Fields inherited from class hudson.model.AbstractBuild |
|---|
buildEnvironments |
| Fields inherited from class hudson.model.Run |
|---|
ARTIFACTS, charset, DELETE, description, duration, FEED_ADAPTER, FEED_ADAPTER_LATEST, ID_FORMATTER, LIST_CUTOFF, nextBuild, number, ORDER_BY_DATE, previousBuild, project, result, state, timestamp, TREE_CUTOFF, UPDATE, XSTREAM |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
Promotion(PromotionProcess job)
|
|
Promotion(PromotionProcess job,
java.util.Calendar timestamp)
|
|
Promotion(PromotionProcess project,
java.io.File buildDir)
|
|
| Method Summary | |
|---|---|
hudson.EnvVars |
getEnvironment(hudson.model.TaskListener listener)
|
Status |
getStatus()
Gets the Status object that keeps track of what Promotions are
performed for a build, including this Promotion. |
hudson.model.AbstractBuild<?,?> |
getTarget()
Gets the build that this promotion promoted. |
java.lang.String |
getUrl()
|
void |
run()
|
| Methods inherited from class hudson.model.AbstractBuild |
|---|
delete, doStop, due, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getDownstreamRelationship, getHudsonVersion, getModuleRoot, getModuleRoots, getProject, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant, setWorkspace |
| Methods inherited from class hudson.model.Run |
|---|
addAction, checkPermission, compareTo, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getDynamic, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getIDFormatter, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNextBuild, getNumber, getPreviousBuild, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getResult, getRootDir, getSearchUrl, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTruncatedDescription, hasCustomDisplayName, hasntStartedYet, hasPermission, isBuilding, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, run, save, setDescription, setDisplayName, setResult, submit, toString, writeLogTo |
| Methods inherited from class hudson.model.Actionable |
|---|
getAction, getAction, getActions, getActions |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hudson.model.Queue.Executable |
|---|
getEstimatedDuration, toString |
| Field Detail |
|---|
public static final hudson.security.PermissionGroup PERMISSIONS
public static final hudson.security.Permission PROMOTE
| Constructor Detail |
|---|
public Promotion(PromotionProcess job)
throws java.io.IOException
java.io.IOException
public Promotion(PromotionProcess job,
java.util.Calendar timestamp)
public Promotion(PromotionProcess project,
java.io.File buildDir)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public hudson.model.AbstractBuild<?,?> getTarget()
public java.lang.String getUrl()
getUrl in class hudson.model.Run<PromotionProcess,Promotion>public Status getStatus()
Status object that keeps track of what Promotions are
performed for a build, including this Promotion.
public hudson.EnvVars getEnvironment(hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
getEnvironment in class hudson.model.AbstractBuild<PromotionProcess,Promotion>java.io.IOException
java.lang.InterruptedExceptionpublic void run()
run in interface hudson.model.Queue.Executablerun in interface java.lang.Runnablerun in class hudson.model.AbstractBuild<PromotionProcess,Promotion>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||