Class DiffCommand

  • All Implemented Interfaces:
    Command

    public final class DiffCommand
    extends java.lang.Object
    implements Command
    • Constructor Summary

      Constructors 
      Constructor Description
      DiffCommand()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(Arguments arguments, java.lang.ClassLoader classLoader)
      Executes the command using the provided arguments.
      java.lang.String getName()
      Gets the name of the command.
      Parser getParser()
      Gets the parser of the command.
      java.lang.String getSummary()
      Gets a short summary of the command that's shown in the main help.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface software.amazon.smithy.cli.Command

        getHelp
    • Constructor Detail

      • DiffCommand

        public DiffCommand()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Command
        Gets the name of the command.

        The returned name should contain no spaces or special characters.

        Specified by:
        getName in interface Command
        Returns:
        Returns the command name.
      • getSummary

        public java.lang.String getSummary()
        Description copied from interface: Command
        Gets a short summary of the command that's shown in the main help.
        Specified by:
        getSummary in interface Command
        Returns:
        Returns the short help description.
      • getParser

        public Parser getParser()
        Description copied from interface: Command
        Gets the parser of the command.
        Specified by:
        getParser in interface Command
        Returns:
        Returns the argument parser.
      • execute

        public void execute​(Arguments arguments,
                            java.lang.ClassLoader classLoader)
        Description copied from interface: Command
        Executes the command using the provided arguments.
        Specified by:
        execute in interface Command
        Parameters:
        arguments - CLI arguments.
        classLoader - ClassLoader to use in the command.