Package org.glassfish.batch
Class AbstractListCommandProxy
- java.lang.Object
-
- org.glassfish.batch.AbstractListCommandProxy
-
- All Implemented Interfaces:
AdminCommand
- Direct Known Subclasses:
ListBatchJobExecutionsProxy,ListBatchJobsProxy,ListBatchJobStepsProxy
public abstract class AbstractListCommandProxy extends Object implements AdminCommand
Command to list batch jobs info 1 * 1 * jobName --------> instanceId --------> executionId- Author:
- Mahesh Kannan
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionReport.ExitCodecommandsExitCodeprotected booleanheaderprotected booleanisTerseprotected Loggerloggerprotected StringoutputHeaderListprotected org.glassfish.hk2.api.ServiceLocatorserviceLocatorprotected Stringtargetprotected TargettargetUtilprotected booleanuseLongFormat
-
Constructor Summary
Constructors Constructor Description AbstractListCommandProxy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute(AdminCommandContext context)Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter valuesprotected voidfillParameterMap(ParameterMap parameterMap)protected abstract StringgetCommandName()protected booleanisLongNumber(String str)protected abstract voidpostInvoke(AdminCommandContext context, ActionReport subReport)protected booleanpreInvoke(AdminCommandContext ctx, ActionReport subReport)
-
-
-
Field Detail
-
serviceLocator
@Inject protected org.glassfish.hk2.api.ServiceLocator serviceLocator
-
targetUtil
@Inject protected Target targetUtil
-
logger
@Inject protected Logger logger
-
isTerse
protected boolean isTerse
-
outputHeaderList
protected String outputHeaderList
-
header
protected boolean header
-
target
protected String target
-
useLongFormat
protected boolean useLongFormat
-
commandsExitCode
protected ActionReport.ExitCode commandsExitCode
-
-
Method Detail
-
execute
public final void execute(AdminCommandContext context)
Description copied from interface:AdminCommandExecutes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
preInvoke
protected boolean preInvoke(AdminCommandContext ctx, ActionReport subReport)
-
getCommandName
protected abstract String getCommandName()
-
postInvoke
protected abstract void postInvoke(AdminCommandContext context, ActionReport subReport)
-
fillParameterMap
protected void fillParameterMap(ParameterMap parameterMap)
-
isLongNumber
protected boolean isLongNumber(String str)
-
-