hudson.plugins.promoted_builds
クラス Promotion

java.lang.Object
  上位を拡張 hudson.model.AbstractModelObject
      上位を拡張 hudson.model.Actionable
          上位を拡張 hudson.model.Run<P,R>
              上位を拡張 hudson.model.AbstractBuild<PromotionProcess,Promotion>
                  上位を拡張 hudson.plugins.promoted_builds.Promotion
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.DescriptorByNameOwner, hudson.model.ModelObject, hudson.model.PersistenceRoot, hudson.model.Queue.Executable, hudson.model.Saveable, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled, java.lang.Comparable<Promotion>, java.lang.Runnable

public class Promotion
extends hudson.model.AbstractBuild<PromotionProcess,Promotion>

Records a promotion process.

作成者:
Kohsuke Kawaguchi

入れ子のクラスの概要
protected  class Promotion.RunnerImpl
           
 
クラス hudson.model.AbstractBuild から継承された入れ子のクラス/インタフェース
hudson.model.AbstractBuild.AbstractRunner, hudson.model.AbstractBuild.DependencyChange
 
クラス 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
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
フィールドの概要
static hudson.security.PermissionGroup PERMISSIONS
           
static hudson.security.Permission PROMOTE
           
 
クラス hudson.model.AbstractBuild から継承されたフィールド
buildEnvironments
 
クラス hudson.model.Run から継承されたフィールド
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
 
インタフェース hudson.model.Saveable から継承されたフィールド
NOOP
 
コンストラクタの概要
Promotion(PromotionProcess job)
           
Promotion(PromotionProcess job, java.util.Calendar timestamp)
           
Promotion(PromotionProcess project, java.io.File buildDir)
           
 
メソッドの概要
 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.
 void run()
           
 
クラス hudson.model.AbstractBuild から継承されたメソッド
delete, doStop, due, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getDownstreamRelationship, getHudsonVersion, getModuleRoot, getModuleRoots, getProject, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant, setWorkspace
 
クラス hudson.model.Run から継承されたメソッド
checkPermission, compareTo, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, 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, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getIDFormatter, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNextBuild, getNumber, getPreviousBuild, getPreviousBuildInProgress, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getResult, getRootDir, getSearchUrl, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTruncatedDescription, getUrl, hasntStartedYet, hasPermission, isBuilding, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onStartBuilding, run, save, setDescription, setResult, toString, writeLogTo
 
クラス hudson.model.Actionable から継承されたメソッド
addAction, getAction, getAction, getActions, getActions
 
クラス hudson.model.AbstractModelObject から継承されたメソッド
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース hudson.model.Queue.Executable から継承されたメソッド
toString
 

フィールドの詳細

PERMISSIONS

public static final hudson.security.PermissionGroup PERMISSIONS

PROMOTE

public static final hudson.security.Permission PROMOTE
コンストラクタの詳細

Promotion

public Promotion(PromotionProcess job)
          throws java.io.IOException
例外:
java.io.IOException

Promotion

public Promotion(PromotionProcess job,
                 java.util.Calendar timestamp)

Promotion

public Promotion(PromotionProcess project,
                 java.io.File buildDir)
          throws java.io.IOException
例外:
java.io.IOException
メソッドの詳細

getTarget

public hudson.model.AbstractBuild<?,?> getTarget()
Gets the build that this promotion promoted.


getStatus

public Status getStatus()
Gets the Status object that keeps track of what Promotions are performed for a build, including this Promotion.


getEnvironment

public hudson.EnvVars getEnvironment(hudson.model.TaskListener listener)
                              throws java.io.IOException,
                                     java.lang.InterruptedException
オーバーライド:
クラス hudson.model.AbstractBuild<PromotionProcess,Promotion> 内の getEnvironment
例外:
java.io.IOException
java.lang.InterruptedException

run

public void run()
定義:
インタフェース hudson.model.Queue.Executable 内の run
定義:
インタフェース java.lang.Runnable 内の run
定義:
クラス hudson.model.AbstractBuild<PromotionProcess,Promotion> 内の run


Copyright © 2011. All Rights Reserved.