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 int
count
the maximum number of instance to bring backprotected String
jobName
the job name to use to find job instancesprotected int
start
the 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 void
execute()
-
Methods inherited from class org.apache.batchee.tools.maven.BatchEEMojoBase
getOrCreateOperator
-
-
-
-
Field Detail
-
jobName
@Parameter(required=true, property="batchee.job") protected String jobName
the job name to use to find job instances
-
start
@Parameter(property="batchee.start", defaultValue="0") protected int start
the first job instance to take into account
-
count
@Parameter(property="batchee.count", defaultValue="10") protected int count
the maximum number of instance to bring back
-
-