Class AppclientCommandArguments


  • public class AppclientCommandArguments
    extends Object
    Encapsulates handling of appclient script command arguments and options.

    This class processes a list of strings which are the ACC and client arguments passed on the appclient script. It makes each ACC argument available explicitly by its own method (getTargetServer() for example). The arguments to be passed to the app client itself are available using getAppArgs().

    Author:
    tjquinn
    • Method Detail

      • newInstance

        public static AppclientCommandArguments newInstance​(List<String> appclientCommandArgs)
                                                     throws UserError
        Creates and returns a new AppclientCommandArguments object from which the ACC argument settings and the arguments to be passed to the app client can be retrieved.
        Parameters:
        appclientCommandArgs - appclient command arguments to use in populating the launch info object
        Returns:
        Throws:
        UserError
      • isTextauth

        public boolean isTextauth()
      • isNoappinvoke

        public boolean isNoappinvoke()
      • isUsage

        public boolean isUsage()
      • isHelp

        public boolean isHelp()
      • getUser

        public String getUser()
      • getPassword

        public char[] getPassword()
      • getName

        public String getName()
      • getTargetServer

        public String getTargetServer()
      • getConfigFilePath

        public String getConfigFilePath()
      • getMainclass

        public String getMainclass()