Package hudson.plugins.promoted_builds
Class Promotion.PromotionParametersAction
java.lang.Object
hudson.model.ParametersAction
hudson.plugins.promoted_builds.Promotion.PromotionParametersAction
- All Implemented Interfaces:
Action
,EnvironmentContributingAction
,LabelAssignmentAction
,ModelObject
,Queue.QueueAction
,Iterable<ParameterValue>
,RunAction2
- Enclosing class:
- Promotion
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class Promotion.PromotionParametersAction
extends ParametersAction
Action, which stores promotion parameters.
This class allows defining custom parameters filtering logic, which is
important for versions after the SECURITY-170 fix.
- Since:
- TODO
-
Field Summary
Fields inherited from class hudson.model.ParametersAction
KEEP_UNDEFINED_PARAMETERS_SYSTEM_PROPERTY_NAME, SAFE_PARAMETERS_SYSTEM_PROPERTY_NAME
-
Method Summary
Modifier and TypeMethodDescriptionbuildFor
(AbstractBuild<?, ?> buildToBePromoted, List<ParameterValue> promotionParams) Methods inherited from class hudson.model.ParametersAction
buildEnvironment, createBuildWrappers, createUpdated, createVariableResolver, getAllParameters, getAssignedLabel, getDisplayName, getIconFileName, getParameter, getUrlName, iterator, merge, onAttached, onLoad, shouldSchedule, substitute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.EnvironmentContributingAction
buildEnvVars
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getParameters
- Overrides:
getParameters
in classParametersAction
-
buildFor
public static Promotion.PromotionParametersAction buildFor(@NonNull AbstractBuild<?, ?> buildToBePromoted, @CheckForNull List<ParameterValue> promotionParams)
-