Uses of Class
hudson.plugins.promoted_builds.PromotionProcess
-
Uses of PromotionProcess in hudson.plugins.promoted_builds
Modifier and TypeFieldDescriptionfinal Class<PromotionProcess>
PromotionProcess.DescriptorImpl.promotionProcessType
Modifier and TypeMethodDescriptionJobPropertyImpl.addProcess
(String name) Adds a new promotion process of the given name.JobPropertyImpl.createProcessFromXml
(String name, InputStream xml) static PromotionProcess
PromotionProcess.fromJson
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) Creates unconnectedPromotionProcess
instance from the JSON configuration.Finds aPromotionProcess
by name.PromotedProjectAction.getProcess
(String name) Get the promotion process by name.Status.getProcess()
Gets thePromotionProcess
that this object deals with.PromotedBuildAction.getPromotionProcess
(String name) Get the specified promotion process by name.Modifier and TypeMethodDescriptionJobPropertyImpl.getActiveItems()
Gets the list of active promotion processes.JobPropertyImpl.getItems()
Gets the list of promotion processes defined for this project, including ones that are no longer actively used and only for archival purpose.PromotedBuildAction.getPendingPromotions()
Gets list ofPromotionProcess
s that are not yet attained.PromotedProjectAction.getProcesses()
PromotedProjectAction.getPromotionProcesses()
Modifier and TypeMethodDescriptionboolean
PromotionTrigger.appliesTo
(PromotionProcess proc) boolean
PromotedBuildAction.contains
(PromotionProcess process) Checks if the given criterion is already promoted.AbstractBuild<?,
?> PromotedProjectAction.getLatest
(PromotionProcess p) PromotedBuildAction.getPromotionBuilds
(PromotionProcess promotionProcess) Gets the read-only view of all the promotion builds that this build achieved for a PromotionProcess.PromotedProjectAction.getPromotions
(PromotionProcess promotionProcess) PromotedProjectAction.getPromotionsSummary
(PromotionProcess promotionProcess) returns the summary of the latest promotions for a promotion process.JobPropertyImpl.getRootDirFor
(PromotionProcess child) PromotedProjectAction.getStatus
(PromotionProcess process) boolean
Status.isFor
(PromotionProcess process) PromotionCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) Checks if the promotion criteria is met.void
JobPropertyImpl.onDeleted
(PromotionProcess process) void
JobPropertyImpl.onRenamed
(PromotionProcess item, String oldName, String newName) AbstractBuild<?,
?> PromotionTargetAction.resolve
(PromotionProcess parent) ModifierConstructorDescriptionPromotion
(PromotionProcess project, File buildDir) Promotion
(PromotionProcess job, Calendar timestamp) Status
(PromotionProcess process, Collection<? extends PromotionBadge> badges) -
Uses of PromotionProcess in hudson.plugins.promoted_builds.conditions
Modifier and TypeMethodDescriptionManualCondition.approve
(AbstractBuild<?, ?> build, PromotionProcess promotionProcess) ManualCondition.approve
(AbstractBuild<?, ?> build, PromotionProcess promotionProcess, List<ParameterValue> paramValues) boolean
ManualCondition.canApprove
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) Verifies that the currently logged in user (or anonymous) has permission to approve the promotion and that the promotion has not already been approved.void
ManualCondition.doApprove
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, PromotionProcess promotionProcess, AbstractBuild<?, ?> build) Web method to handle the approval action submitted by the user.DownstreamPassCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) GroovyCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) ManualCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) ParameterizedSelfPromotionCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) SelfPromotionCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) UpstreamPromotionCondition.isMet
(PromotionProcess promotionProcess, AbstractBuild<?, ?> build)