Class CliDefinition

java.lang.Object
org.mapfish.print.cli.CliHelpDefinition
org.mapfish.print.cli.CliDefinition

public final class CliDefinition extends CliHelpDefinition
The CLI API definition.
  • Field Details

    • config

      @Argument(description="Filename for the configuration (templates&CO)", required=true) public String config
      Filename for the configuration (templates and CO).
    • spec

      @Argument(description="The location of the description of what has to be printed. By default, STDIN") public String spec
      The location of the description of what has to be printed.
    • verbose

      @Argument(description="Used only if log4jConfig is not specified. 3 if you want everything, 2 if you want the debug information (stacktraces are shown), 1 for infos and 0 for only warnings and errors") public String verbose
      Used only if log4jConfig is not specified.
    • output

      @Argument(description="The destination file. By default, Standard Out") public String output
      The destination file.
    • clientConfig

      @Argument(description="Get the config for the client form. Doesn\'t generate a PDF") public boolean clientConfig
      Get the config for the client form.
    • springConfig

      @Argument(description="Spring configuration file to use in addition to the default. This allows overriding certain values if desired") public String springConfig
      Spring configuration file to use in addition to the default.