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.ExitCode
commandsExitCode
protected boolean
header
protected boolean
isTerse
protected Logger
logger
protected String
outputHeaderList
protected org.glassfish.hk2.api.ServiceLocator
serviceLocator
protected String
target
protected Target
targetUtil
protected boolean
useLongFormat
-
Constructor Summary
Constructors Constructor Description AbstractListCommandProxy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute(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 void
fillParameterMap(ParameterMap parameterMap)
protected abstract String
getCommandName()
protected boolean
isLongNumber(String str)
protected abstract void
postInvoke(AdminCommandContext context, ActionReport subReport)
protected boolean
preInvoke(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:AdminCommand
Executes 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:
execute
in 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)
-
-