|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Inherited
public @interface BatchTestEnvironment
Creates a BatchTestEnvironment .
When using this annotation on an object it shall only have effect when the object is of type
BatchTestEnvironment
| Required Element Summary | |
|---|---|
String |
job
The job to be executed in the context file. |
| Optional Element Summary | |
|---|---|
String |
contextFile
The Spring context in which the batch project is defined. |
int |
exitCode
The expected exit code (defaults to 0). |
String |
jobParameters
The jobParameters to send to the job execution. |
BatchOption |
option
The option to send with the job execution, allowing for testing restart for instance, default it is set to none, meaning no options will be sent to the job execution. |
boolean |
parameter
The parameter to send with the job execution, allowing for testing multiple new executions of same job. |
| Element Detail |
|---|
public abstract String job
Stringpublic abstract String contextFile
SpringModule to be present.
Stringpublic abstract int exitCode
Integerpublic abstract boolean parameter
Booleanpublic abstract String jobParameters
Stringpublic abstract BatchOption option
BatchOption
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||