Package org.apache.batchee.tools.maven
Class JobInstancesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.batchee.tools.maven.BatchEEMojoBase
-
- org.apache.batchee.tools.maven.JobInstancesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="instances") public class JobInstancesMojo extends BatchEEMojoBase
Print job instances.
-
-
Field Summary
Fields Modifier and Type Field Description protected intcountthe maximum number of instance to bring backprotected StringjobNamethe job name to use to find job instancesprotected intstartthe first job instance to take into account-
Fields inherited from class org.apache.batchee.tools.maven.BatchEEMojoBase
operator, properties
-
-
Constructor Summary
Constructors Constructor Description JobInstancesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.apache.batchee.tools.maven.BatchEEMojoBase
getOrCreateOperator
-
-
-
-
Field Detail
-
jobName
@Parameter(required=true, property="batchee.job") protected String jobNamethe job name to use to find job instances
-
start
@Parameter(property="batchee.start", defaultValue="0") protected int startthe first job instance to take into account
-
count
@Parameter(property="batchee.count", defaultValue="10") protected int countthe maximum number of instance to bring back
-
-