public interface JobContext extends LogContext
JobContext
represents the context used in Job-Rule
It contains the SessionId
Modifier and Type | Method and Description |
---|---|
NuclosMandator |
getMandator()
Returns the mandator of this job
|
java.lang.Long |
getSessionId()
This methods return the SessionId that has been set by the user
|
java.lang.Object |
getTransactionalObject()
This methods returns the transactional object.
|
boolean |
isLastTransactionalObject()
This methods returns
true when the last transactional object will be returned by getTransactionalObject . |
void |
joblog(java.lang.String message)
This method logs an info message into the Job-Message database
and can be viewed via JobController in Nuclos by opending the corresponding Job
|
void |
joblogError(java.lang.String message)
This method logs an error message into the Job-Message database
and can be viewed via JobController in Nuclos by opending the corresponding Job
|
void |
joblogWarn(java.lang.String message)
This method logs a warning message into the Job-Message database
and can be viewed via JobController in Nuclos by opending the corresponding Job
|
void |
setSessionId(java.lang.Long sessionId)
This method sets the SessionId that is passed as argument
|
log, logError, logWarn
void setSessionId(java.lang.Long sessionId)
sessionId
- java.lang.Long getSessionId()
NuclosMandator getMandator()
void joblog(java.lang.String message)
message
- void joblogWarn(java.lang.String message)
message
- void joblogError(java.lang.String message)
message
- java.lang.Object getTransactionalObject()
TransactionalJobRule
boolean isLastTransactionalObject()
true
when the last transactional object will be returned by getTransactionalObject
. See also TransactionalJobRule
Copyright © 2024. All rights reserved.