Class AnonymousCommandLine
java.lang.Object
org.codehaus.plexus.util.cli.Commandline
org.apache.maven.scm.provider.git.gitexe.command.AnonymousCommandLine
- All Implemented Interfaces:
Cloneable
CommandLine extension to mask password
- Since:
- 1.9.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.plexus.util.cli.Commandline
org.codehaus.plexus.util.cli.Commandline.Argument, org.codehaus.plexus.util.cli.Commandline.Marker
-
Field Summary
FieldsFields inherited from class org.codehaus.plexus.util.cli.Commandline
arguments, envVars, executable, OS_NAME, WINDOWS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.plexus.util.cli.Commandline
addArg, addArg, addArguments, addEnvironment, addSystemEnvironment, clear, clearArgs, clone, createArg, createArg, createArgument, createArgument, createMarker, execute, getArguments, getCommandline, getEnvironmentVariables, getExecutable, getLiteralExecutable, getPid, getRawCommandline, getShell, getShellCommandline, getSystemEnvVars, getWorkingDirectory, quoteArgument, setExecutable, setPid, setShell, setWorkingDirectory, setWorkingDirectory, size, toString, translateCommandline
-
Field Details
-
PASSWORD_PLACE_HOLDER
- See Also:
-
-
Constructor Details
-
AnonymousCommandLine
public AnonymousCommandLine()
-
-
Method Details
-
toString
Provides an anonymous output to mask password. Considering URL of type : <<protocol>>://<<user>>:<<password>>@ <<host_definition>>- Overrides:
toString
in classorg.codehaus.plexus.util.cli.Commandline
-