@MessageLogger(projectCode="WFLYBATCH")
public interface BatchLogger
extends org.jboss.logging.BasicLogger
Modifier and Type | Field and Description |
---|---|
static BatchLogger |
LOGGER
A logger with the category
org.wildfly.extension.batch . |
Modifier and Type | Method and Description |
---|---|
UnsupportedOperationException |
cannotRemoveResourceOfType(String childType)
Creates an exception indicating that the resource of given type can not be removed.
|
IllegalArgumentException |
couldNotFindDeploymentName(String address)
Creates an exception indicating the deployment name could not be found on the address.
|
javax.batch.operations.JobStartException |
couldNotFindJobXml(String xmlFile)
Creates an exception indicating the job XML file could not be found in the deployment.
|
void |
emptyJobRepositoryElement(String deploymentName)
Logs an warning message indicating en empty job-repository element was found in the deployment descriptor.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
errorProcessingBatchJobsDir(Throwable cause)
Creates an exception indicating there was an error processing the batch jobs directory.
|
void |
failedRestartingJob(Throwable cause,
long executionId,
String jobName,
String deploymentName)
Logs an error message indicating a job failed to restart.
|
org.jboss.msc.service.StartException |
failedToCreateJobRepository(Throwable cause,
String type)
Creates an exception indicating the failure to create a job repository.
|
IllegalStateException |
indexedChildResourceRegistrationNotAvailable(org.jboss.as.controller.PathElement address) |
void |
invalidJobXmlFile(String jobXmlFile)
Logs a warning message indicating the job XML file failed to be processed and attempting the run the job may
result in errors.
|
IllegalStateException |
jobOperatorServiceStopped()
Creates an exception indicating the
JobOperatorService has stopped. |
IllegalStateException |
jobRepositoryShutdown()
Creates an exception indicating the job repository has been shutdown and job operations can no longer be
executed.
|
void |
multipleJobRepositoriesFound()
Logs an error message indicating only one job repository can be defined in the
jboss-all.xml deployment
descriptor. |
javax.batch.operations.NoSuchJobException |
noSuchJobException(String jobName)
Creates an exception indicating the job name was not found for the deployment.
|
void |
restartingJob(String jobName,
long previousId,
long newId)
Logs an info message indicating a job is restarting due to a previous stop issued by a suspend operation.
|
void |
stoppingJob(long executionId,
String jobName,
String deploymentName)
Logs a warning message indicating a job is stopping.
|
void |
stoppingJobFailed(Throwable cause,
long executionId,
String jobName,
String deploymentName)
Logs an error message indicating a job failed to stop.
|
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
static final BatchLogger LOGGER
org.wildfly.extension.batch
.@Message(id=1, value="Error processing META-INF/batch-jobs directory.") org.jboss.as.server.deployment.DeploymentUnitProcessingException errorProcessingBatchJobsDir(@Cause Throwable cause)
cause
- the cause of the errorDeploymentUnitProcessingException
for the error@Message(id=2, value="Resources of type %s cannot be removed") UnsupportedOperationException cannotRemoveResourceOfType(String childType)
UnsupportedOperationException
for the error@Message(id=3, value="Could not find deployment name: %s") IllegalArgumentException couldNotFindDeploymentName(String address)
IllegalArgumentException
for the error@Message(id=4, value="The service JobOperatorService has been stopped and cannot execute operations.") IllegalStateException jobOperatorServiceStopped()
JobOperatorService
has stopped.IllegalStateException
for the error@Message(id=5, value="The job name \'%s\' was not found for the deployment.") javax.batch.operations.NoSuchJobException noSuchJobException(String jobName)
jobName
- the invalid job nameNoSuchJobException
for the error@Message(id=6, value="Could not find the job XML file in the deployment: %s") javax.batch.operations.JobStartException couldNotFindJobXml(String xmlFile)
xmlFile
- the invalid XML fileJobStartException
for the error@LogMessage(level=WARN) @Message(id=7, value="Failed processing the job XML file %s. Attempting to execute this job may result in errors.") void invalidJobXmlFile(String jobXmlFile)
jobXmlFile
- the invalid job XML file name@LogMessage(level=WARN) @Message(id=8, value="Empty job-repository element found in deployment descriptor. Using the default job repository for deployment %s.") void emptyJobRepositoryElement(String deploymentName)
deploymentName
- the name of the deployment@Message(id=9, value="Indexed child resources can only be registered if the parent resource supports ordered children. The parent of \'%s\' is not indexed") IllegalStateException indexedChildResourceRegistrationNotAvailable(org.jboss.as.controller.PathElement address)
@Message(id=11, value="Failed to create %s job repository.") org.jboss.msc.service.StartException failedToCreateJobRepository(@Cause Throwable cause, String type)
cause
- the cause of the errortype
- the type of the job repositoryStartException
for the error@LogMessage(level=ERROR) @Message(id=13, value="Only one job repository can be defined in the jboss-all.xml deployment descriptor. The first job repository will be used.") void multipleJobRepositoriesFound()
jboss-all.xml
deployment
descriptor.@LogMessage(level=WARN) @Message(id=14, value="Stopping execution %d of %s for deployment %s") void stoppingJob(long executionId, String jobName, String deploymentName)
executionId
- the execution id of the jobjobName
- the name of the jobdeploymentName
- the name of the deployment stopping the job@LogMessage(level=ERROR) @Message(id=15, value="Failed to stop execution %d for job %s on deployment %s") void stoppingJobFailed(@Cause Throwable cause, long executionId, String jobName, String deploymentName)
cause
- the cause of the errorexecutionId
- the execution id of the jobjobName
- the name of the jobdeploymentName
- the name of the deployment@LogMessage(level=ERROR) @Message(id=16, value="Failed to restart execution %d for job %s on deployment %s") void failedRestartingJob(@Cause Throwable cause, long executionId, String jobName, String deploymentName)
cause
- the cause of the errorexecutionId
- the execution id of the jobjobName
- the name of the jobdeploymentName
- the name of the deployment@LogMessage(level=INFO) @Message(id=17, value="Restarting previously stopped batch job %s. Previous execution id %d. New execution id %d.") void restartingJob(String jobName, long previousId, long newId)
jobName
- the name of the jobpreviousId
- the previous execution idnewId
- the new execution id@Message(id=18, value="The job repository has been shutdown. Job operations can no longer be executed.") IllegalStateException jobRepositoryShutdown()
Copyright © 2018 JBoss by Red Hat. All rights reserved.