@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class SafeParametersAction
extends hudson.model.ParametersAction
Modifier and Type | Class and Description |
---|---|
static class |
SafeParametersAction.SafeParametersActionEnvironmentContributor |
Constructor and Description |
---|
SafeParametersAction(List<hudson.model.ParameterValue> parameters)
At this point the list of parameter values is guaranteed to be safe, which is
parameter defined either at top level or release wrapper level.
|
Modifier and Type | Method and Description |
---|---|
hudson.model.ParameterValue |
getParameter(String name)
Returns the parameter if defined as a regular parameters or it is a release-specific parameter defined
by the release wrapper.
|
List<hudson.model.ParameterValue> |
getParameters()
Returns all parameters allowed by the job (defined as regular job parameters) and
the parameters allowed by release-specific parameters definition.
|
buildEnvVars, createBuildWrappers, createUpdated, createVariableResolver, getAssignedLabel, getDisplayName, getIconFileName, getUrlName, iterator, merge, shouldSchedule, substitute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SafeParametersAction(@Nonnull List<hudson.model.ParameterValue> parameters)
parameters
- Parameters to be passed. All of them will be considered as safepublic List<hudson.model.ParameterValue> getParameters()
getParameters
in class hudson.model.ParametersAction
public hudson.model.ParameterValue getParameter(String name)
getParameter
in class hudson.model.ParametersAction
Copyright © 2016–2018. All rights reserved.