Class CommandLaunchInfo


  • public class CommandLaunchInfo
    extends Object
    Encapsulates all the details of handling the ACC agent arguments.

    The agent accepts agent arguments, mostly to find out:

    • what type of client the user specified (JAR, directory, class, or class file) and the path or name for the file, and
    • the appclient command arguments from the appclient command.
    Each word that is an appclient script argument appears in the agent arguments as "arg=..." which distinguishes them from arguments intended directly for the agent. Note that the appclient script does not pass through the user's -client xxx option and value. Instead it passes client=... intended for the agent (note the lack of the - sign).
    Author:
    tjquinn
    • Method Detail

      • getClientName

        public String getClientName()
        Returns the name part of the client selection expression. This can be the file path to a JAR, a file path to a directory, the fully-qualified class name for the main class, or the file path to a .class file.
        Returns:
        the name
      • getClientLaunchType

        public CommandLaunchInfo.ClientLaunchType getClientLaunchType()
        Returns which type of launch the user has triggered given the combination of options he or she specified.
        Returns:
      • getAppcPath

        public String getAppcPath()