Class 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 
      Modifier and Type Field Description
      static String PASSWORD_PLACE_HOLDER  
      • Fields inherited from class org.codehaus.plexus.util.cli.Commandline

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String toString()
      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
    • Constructor Detail

      • AnonymousCommandLine

        public AnonymousCommandLine()
    • Method Detail

      • 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