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
Implements
ArgumentsAction
by storing step arguments, with sanitization.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.actions.ArgumentsAction
org.jenkinsci.plugins.workflow.actions.ArgumentsAction.NotStoredReason
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.workflow.actions.ArgumentsAction
MAX_RETAINED_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 unmodifiedMethods inherited from class org.jenkinsci.plugins.workflow.actions.ArgumentsAction
getArguments, getArguments, getArgumentValue, getArgumentValueOrReason, getDisplayName, getFilteredArguments, getFilteredArguments, getIconFileName, getResolvedArguments, getStepArgumentsAsString, getUrlName, isOversized, isOversized
-
Constructor Details
-
ArgumentsActionImpl
-
ArgumentsActionImpl
Create a step, sanitizing strings for secured content
-
-
Method Details
-
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
- Specified by:
getArgumentsInternal
in classorg.jenkinsci.plugins.workflow.actions.ArgumentsAction
-
isUnmodifiedArguments
public boolean isUnmodifiedArguments()- Overrides:
isUnmodifiedArguments
in classorg.jenkinsci.plugins.workflow.actions.ArgumentsAction
-