Package org.glassfish.batch
Class ListBatchRuntimeConfiguration
- java.lang.Object
-
- org.glassfish.batch.AbstractListCommand
-
- org.glassfish.batch.ListBatchRuntimeConfiguration
-
- All Implemented Interfaces:
AdminCommand
@Service(name="list-batch-runtime-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG}) public class ListBatchRuntimeConfiguration extends AbstractListCommand
Command to list batch jobs info- Author:
- Mahesh Kannan
-
-
Field Summary
Fields Modifier and Type Field Description protected Target
targetUtil
-
Fields inherited from class org.glassfish.batch.AbstractListCommand
displayHeaders, header, isTerse, logger, outputHeaderList, outputHeaders, target
-
-
Constructor Summary
Constructors Constructor Description ListBatchRuntimeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeCommand(AdminCommandContext context, Properties extraProps)
protected String[]
getAllHeaders()
protected String[]
getDefaultHeaders()
-
Methods inherited from class org.glassfish.batch.AbstractListCommand
execute, getDisplayHeaders, getJobOperatorFromBatchRuntime, getOutputHeaders, isHeaderRequired, supportsLongFormat
-
-
-
-
Field Detail
-
targetUtil
@Inject protected Target targetUtil
-
-
Method Detail
-
executeCommand
protected void executeCommand(AdminCommandContext context, Properties extraProps)
- Specified by:
executeCommand
in classAbstractListCommand
-
getAllHeaders
protected final String[] getAllHeaders()
- Specified by:
getAllHeaders
in classAbstractListCommand
-
getDefaultHeaders
protected final String[] getDefaultHeaders()
- Specified by:
getDefaultHeaders
in classAbstractListCommand
-
-