Class ExportCommand

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct

    @Service(name="export")
    @PerLookup
    public class ExportCommand
    extends CLICommand
    A local export command.
    Author:
    Bill Shannon
    • Constructor Detail

      • ExportCommand

        public ExportCommand()
    • Method Detail

      • executeCommand

        public int executeCommand()
                           throws org.glassfish.api.admin.CommandException,
                                  org.glassfish.api.admin.CommandValidationException
        Description copied from class: CLICommand
        Execute the command using the options in options and the operands in operands.
        Specified by:
        executeCommand in class CLICommand
        Returns:
        the exit code
        Throws:
        org.glassfish.api.admin.CommandException - if execution of the command fails
        org.glassfish.api.admin.CommandValidationException - if there's something wrong with the options or arguments