Class DefaultRemoteCommand

  • All Implemented Interfaces:
    RemoteCommand

    public class DefaultRemoteCommand
    extends java.lang.Object
    implements RemoteCommand
    The default implementation of the RemoteCommand interface
    See Also:
    RemoteCommand
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultRemoteCommand​(java.lang.String command, java.lang.String[] args)  
    • Constructor Detail

      • DefaultRemoteCommand

        public DefaultRemoteCommand​(java.lang.String command,
                                    java.lang.String[] args)
    • Method Detail

      • getCommandURLString

        public java.lang.String getCommandURLString()
        Specified by:
        getCommandURLString in interface RemoteCommand
        Returns:
        the URL query string which will be sent to the browser
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • parse

        public static RemoteCommand parse​(java.lang.String inputLine)
        Factory method to create a RemoteCommand from a wiki-style input string
        Parameters:
        inputLine - wiki-style input string
        Returns:
        RemoteCommand