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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringreplaceSensitiveVariables(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, isOversizedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDescription, getEvent, getGroup, getSemantic, isVisibleInContextMenu
-
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:
getArgumentsInternalin classorg.jenkinsci.plugins.workflow.actions.ArgumentsAction
-
isUnmodifiedArguments
public boolean isUnmodifiedArguments()- Overrides:
isUnmodifiedArgumentsin classorg.jenkinsci.plugins.workflow.actions.ArgumentsAction
-