Package hudson.matrix
Class MatrixChildParametersAction
- java.lang.Object
-
- hudson.model.ParametersAction
-
- hudson.matrix.MatrixChildParametersAction
-
- All Implemented Interfaces:
MatrixChildAction
,Action
,EnvironmentContributingAction
,LabelAssignmentAction
,ModelObject
,Queue.QueueAction
,Iterable<ParameterValue>
,RunAction2
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class MatrixChildParametersAction extends ParametersAction implements MatrixChildAction, RunAction2
This class is used to pass parameter actions from aMatrixBuild
to aMatrixRun
. This wrapper action is needed since SECURITY-170 is blocking undefined parameters in the child job (thus builds). It's intended for internal use only, that's why constructor and methods are packaged visible. The class itself is public to be visible to core so it can pick up theMatrixChildParametersAction.MatrixChildParametersActionEnvironmentContributor
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatrixChildParametersAction.MatrixChildParametersActionEnvironmentContributor
-
Field Summary
-
Fields inherited from class hudson.model.ParametersAction
KEEP_UNDEFINED_PARAMETERS_SYSTEM_PROPERTY_NAME, SAFE_PARAMETERS_SYSTEM_PROPERTY_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterValue
getParameter(String name)
List<ParameterValue>
getParameters()
void
onAttached(Run<?,?> r)
void
onLoad(Run<?,?> r)
-
Methods inherited from class hudson.model.ParametersAction
buildEnvironment, createBuildWrappers, createUpdated, createVariableResolver, getAllParameters, getAssignedLabel, getDisplayName, getIconFileName, getUrlName, iterator, merge, 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.Action
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from interface hudson.model.EnvironmentContributingAction
buildEnvVars
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getParameters
@NonNull public List<ParameterValue> getParameters()
- Overrides:
getParameters
in classParametersAction
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttached
in interfaceRunAction2
- Overrides:
onAttached
in classParametersAction
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoad
in interfaceRunAction2
- Overrides:
onLoad
in classParametersAction
-
getParameter
public ParameterValue getParameter(String name)
- Overrides:
getParameter
in classParametersAction
-
-