Class UIConst


  • public class UIConst
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Date startTime  
      static java.util.LinkedHashMap<java.lang.String,​IUserInterface> UIS  
    • Constructor Summary

      Constructors 
      Constructor Description
      UIConst()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.commons.cli.CommandLine buildCommandLine​(org.apache.commons.cli.Options options, java.lang.String[] args)  
      static org.apache.commons.cli.Options buildOptions()  
      private static org.apache.commons.cli.Options getDefaultOptions()  
      static java.lang.String processArgs​(org.apache.commons.cli.CommandLine commands, org.apache.commons.cli.Options options, java.lang.String[] args)  
      static void removeUI​(java.lang.String ui)  
      static boolean startUI​(java.lang.String ui)  
      • Methods inherited from class java.lang.Object

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

      • startTime

        public static java.util.Date startTime
      • UIS

        public static java.util.LinkedHashMap<java.lang.String,​IUserInterface> UIS
    • Constructor Detail

      • UIConst

        public UIConst()
    • Method Detail

      • startUI

        public static boolean startUI​(java.lang.String ui)
      • buildOptions

        public static org.apache.commons.cli.Options buildOptions()
      • getDefaultOptions

        private static org.apache.commons.cli.Options getDefaultOptions()
      • buildCommandLine

        public static org.apache.commons.cli.CommandLine buildCommandLine​(org.apache.commons.cli.Options options,
                                                                          java.lang.String[] args)
      • processArgs

        public static java.lang.String processArgs​(org.apache.commons.cli.CommandLine commands,
                                                   org.apache.commons.cli.Options options,
                                                   java.lang.String[] args)
      • removeUI

        public static void removeUI​(java.lang.String ui)