Class CommandLineUtils


  • public class CommandLineUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String extractArgument​(java.util.List<java.lang.String> arguments, java.lang.String argumentName)  
      static java.lang.String extractArgument​(org.apache.karaf.shell.api.console.CommandLine commandLine, java.lang.String argumentName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommandLineUtils

        public CommandLineUtils()
    • Method Detail

      • extractArgument

        public static java.lang.String extractArgument​(org.apache.karaf.shell.api.console.CommandLine commandLine,
                                                       java.lang.String argumentName)
      • extractArgument

        public static java.lang.String extractArgument​(java.util.List<java.lang.String> arguments,
                                                       java.lang.String argumentName)