Class SubsystemCLI

    • Field Summary

      Fields 
      Modifier and Type Field Description
      MainCLI mainCLI  
      • Fields inherited from class org.dogtagpki.cli.CLI

        client, description, formatter, logger, modules, name, options, parent, parser, verbose
    • Constructor Summary

      Constructors 
      Constructor Description
      SubsystemCLI​(java.lang.String name, java.lang.String description, MainCLI mainCLI)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.String[] args)  
      com.netscape.certsrv.client.Client getClient​(java.lang.String name)  
      java.lang.String getFullName()  
      com.netscape.certsrv.client.SubsystemClient getSubsystemClient()  
      void login()  
      void logout()  
      • Methods inherited from class org.dogtagpki.cli.CLI

        addModule, findModule, findModules, getClient, getConfig, getDescription, getFullModuleName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, printCommands, printHelp, removeModule, runExternal, runExternal, setDescription, setName
      • Methods inherited from class java.lang.Object

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

    • Constructor Detail

      • SubsystemCLI

        public SubsystemCLI​(java.lang.String name,
                            java.lang.String description,
                            MainCLI mainCLI)
    • Method Detail

      • getFullName

        public java.lang.String getFullName()
        Overrides:
        getFullName in class org.dogtagpki.cli.CLI
      • getSubsystemClient

        public com.netscape.certsrv.client.SubsystemClient getSubsystemClient()
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • login

        public void login()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • logout

        public void logout()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getClient

        public com.netscape.certsrv.client.Client getClient​(java.lang.String name)
                                                     throws java.lang.Exception
        Overrides:
        getClient in class org.dogtagpki.cli.CLI
        Throws:
        java.lang.Exception
      • execute

        public void execute​(java.lang.String[] args)
                     throws java.lang.Exception
        Overrides:
        execute in class org.dogtagpki.cli.CLI
        Throws:
        java.lang.Exception