Package org.glassfish.batch
Class ListBatchJobs
java.lang.Object
org.glassfish.batch.AbstractListCommand
org.glassfish.batch.AbstractLongListCommand
org.glassfish.batch.ListBatchJobs
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
@Service(name="_ListBatchJobs")
@PerLookup
@CommandLock(NONE)
@ExecuteOn(INSTANCE)
@TargetType({DAS,CLUSTERED_INSTANCE,STANDALONE_INSTANCE})
public class ListBatchJobs
extends AbstractLongListCommand
Command to list batch jobs info
1 * 1 *
jobName --------> instanceId --------> executionId
- Author:
- Mahesh Kannan
-
Field Summary
Fields inherited from class org.glassfish.batch.AbstractLongListCommand
useLongFormatFields inherited from class org.glassfish.batch.AbstractListCommand
displayHeaders, header, isTerse, logger, outputHeaderList, outputHeaders, target -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteCommand(org.glassfish.api.admin.AdminCommandContext context, Properties extraProps) protected final String[]protected final String[]Methods inherited from class org.glassfish.batch.AbstractLongListCommand
supportsLongFormatMethods inherited from class org.glassfish.batch.AbstractListCommand
execute, getDisplayHeaders, getJobOperatorFromBatchRuntime, getOutputHeaders, isHeaderRequired
-
Constructor Details
-
ListBatchJobs
public ListBatchJobs()
-
-
Method Details
-
executeCommand
protected void executeCommand(org.glassfish.api.admin.AdminCommandContext context, Properties extraProps) throws Exception - Specified by:
executeCommandin classAbstractListCommand- Throws:
Exception
-
getAllHeaders
- Specified by:
getAllHeadersin classAbstractListCommand
-
getDefaultHeaders
- Specified by:
getDefaultHeadersin classAbstractListCommand
-