@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class SafeParametersAction extends ParametersAction
| Modifier and Type | Class and Description |
|---|---|
static class |
SafeParametersAction.SafeParametersActionEnvironmentContributor |
KEEP_UNDEFINED_PARAMETERS_SYSTEM_PROPERTY_NAME, SAFE_PARAMETERS_SYSTEM_PROPERTY_NAME| Constructor and Description |
|---|
SafeParametersAction(List<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 |
|---|---|
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<ParameterValue> |
getParameters()
Returns all parameters allowed by the job (defined as regular job parameters) and
the parameters allowed by release-specific parameters definition.
|
buildEnvironment, createBuildWrappers, createUpdated, createVariableResolver, getAllParameters, getAssignedLabel, getDisplayName, getIconFileName, getUrlName, iterator, merge, onAttached, onLoad, shouldSchedule, substituteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorbuildEnvVarspublic SafeParametersAction(@Nonnull List<ParameterValue> parameters)
parameters - Parameters to be passed. All of them will be considered as safepublic List<ParameterValue> getParameters()
getParameters in class ParametersActionpublic ParameterValue getParameter(String name)
getParameter in class ParametersActionCopyright © 2016–2022. All rights reserved.