Class AbstractListCommand

    • Field Detail

      • logger

        @Inject
        protected Logger logger
      • isTerse

        public boolean isTerse
      • outputHeaderList

        protected String outputHeaderList
      • header

        protected boolean header
      • target

        protected String target
      • outputHeaders

        protected String[] outputHeaders
      • displayHeaders

        protected String[] displayHeaders
    • Constructor Detail

      • AbstractListCommand

        public AbstractListCommand()
    • Method Detail

      • execute

        public void execute​(org.glassfish.api.admin.AdminCommandContext context)
        Specified by:
        execute in interface org.glassfish.api.admin.AdminCommand
      • getJobOperatorFromBatchRuntime

        protected static jakarta.batch.operations.JobOperator getJobOperatorFromBatchRuntime()
      • isHeaderRequired

        protected boolean isHeaderRequired()
      • supportsLongFormat

        protected boolean supportsLongFormat()
      • executeCommand

        protected abstract void executeCommand​(org.glassfish.api.admin.AdminCommandContext context,
                                               Properties extraProps)
                                        throws Exception
        Throws:
        Exception
      • getAllHeaders

        protected abstract String[] getAllHeaders()
      • getDefaultHeaders

        protected abstract String[] getDefaultHeaders()
      • getOutputHeaders

        protected String[] getOutputHeaders()
      • getDisplayHeaders

        protected String[] getDisplayHeaders()