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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Promotion.PromotionParametersAction
buildFor(AbstractBuild<?,?> buildToBePromoted, List<ParameterValue> promotionParams)
List<ParameterValue>
getParameters()
-
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 Detail
-
getParameters
public List<ParameterValue> getParameters()
- Overrides:
getParameters
in classParametersAction
-
buildFor
public static Promotion.PromotionParametersAction buildFor(@NonNull AbstractBuild<?,?> buildToBePromoted, @CheckForNull List<ParameterValue> promotionParams)
-
-