Class ArgumentsActionImpl
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.actions.ArgumentsAction
-
- org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl
-
- All Implemented Interfaces:
Action
,ModelObject
,org.jenkinsci.plugins.workflow.actions.PersistentAction
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ArgumentsActionImpl extends org.jenkinsci.plugins.workflow.actions.ArgumentsAction
ImplementsArgumentsAction
by storing step arguments, with sanitization.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
getArgumentsInternal()
boolean
isUnmodifiedArguments()
static String
replaceSensitiveVariables(String input, EnvVars variables, Set<String> sensitiveVariables)
See if sensitive environment variable content is in a string and replace the content with its associated variable name, otherwise return string unmodified-
Methods inherited from class org.jenkinsci.plugins.workflow.actions.ArgumentsAction
getArguments, getArguments, getArgumentValue, getArgumentValueOrReason, getDisplayName, getFilteredArguments, getFilteredArguments, getIconFileName, getResolvedArguments, getStepArgumentsAsString, getUrlName, isOversized, isOversized
-
-
-
-
Method Detail
-
replaceSensitiveVariables
public static String replaceSensitiveVariables(@NonNull String input, @CheckForNull EnvVars variables, @NonNull Set<String> sensitiveVariables)
See if sensitive environment variable content is in a string and replace the content with its associated variable name, otherwise return string unmodified
-
getArgumentsInternal
@NonNull protected Map<String,Object> getArgumentsInternal()
- Specified by:
getArgumentsInternal
in classorg.jenkinsci.plugins.workflow.actions.ArgumentsAction
-
isUnmodifiedArguments
public boolean isUnmodifiedArguments()
- Overrides:
isUnmodifiedArguments
in classorg.jenkinsci.plugins.workflow.actions.ArgumentsAction
-
-