Class JenericCmdline

    • Field Detail

      • m_Singleton

        protected static JenericCmdline m_Singleton
        the singleton.
      • m_Managed

        protected List<Class> m_Managed
        the classes/interfaces to manage.
      • m_Cache

        protected Map<Class,​Boolean> m_Cache
        the cache of classes that have been checked (Class - true|false).
    • Constructor Detail

      • JenericCmdline

        protected JenericCmdline()
        Initializes the command-line handling.
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the caches.
      • isHandled

        public boolean isHandled​(Class cls)
        Checks whether this class should be enhanced with a generic commandline.
        Parameters:
        cls - the class to check
        Returns:
        true if to enhance
      • getManaged

        public List<Class> getManaged()
        Returns the list of classes/interfaces that are managed.
        Returns:
        the managed classes
      • getSingleton

        public static JenericCmdline getSingleton()
        Returns the singleton.
        Returns:
        the singleton