Class BatchPngCommand

  • All Implemented Interfaces:
    Command

    public class BatchPngCommand
    extends java.lang.Object
    implements Command
    Run in batch png mode.
    • Constructor Summary

      Constructors 
      Constructor Description
      BatchPngCommand​(@NotNull java.util.List<java.io.File> args, @NotNull ImageCreator<?,​?,​?> imageCreator)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int execute()
      Executes the command.
      • Methods inherited from class java.lang.Object

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

      • BatchPngCommand

        public BatchPngCommand​(@NotNull
                               @NotNull java.util.List<java.io.File> args,
                               @NotNull
                               @NotNull ImageCreator<?,​?,​?> imageCreator)
        Creates a new instance.
        Parameters:
        args - the arguments
        imageCreator - the image creator to use
    • Method Detail

      • execute

        public int execute()
        Description copied from interface: Command
        Executes the command.
        Specified by:
        execute in interface Command
        Returns:
        return code suitable for passing to System.exit(int)