Class AnonymousCommandLine

java.lang.Object
org.codehaus.plexus.util.cli.Commandline
org.apache.maven.scm.provider.git.gitexe.command.AnonymousCommandLine
All Implemented Interfaces:
Cloneable

public class AnonymousCommandLine extends org.codehaus.plexus.util.cli.Commandline
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

    Fields inherited from class org.codehaus.plexus.util.cli.Commandline

    arguments, envVars, executable, OS_NAME, WINDOWS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides an anonymous output to mask password.

    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

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AnonymousCommandLine

      public AnonymousCommandLine()
  • Method Details

    • toString

      public String toString()
      Provides an anonymous output to mask password. Considering URL of type : <<protocol>>://<<user>>:<<password>>@ <<host_definition>>
      Overrides:
      toString in class org.codehaus.plexus.util.cli.Commandline