public class CoordinatorJobInfo extends Object
Constructor and Description |
---|
CoordinatorJobInfo(List<CoordinatorJobBean> jobs,
int start,
int len,
int total)
Create a coordinator info bean.
|
Modifier and Type | Method and Description |
---|---|
List<CoordinatorJobBean> |
getCoordJobs()
Return the coordiantor jobs being returned.
|
int |
getLen()
Return the number of the workflows being returned.
|
int |
getStart()
Return the offset of the workflows being returned.
|
int |
getTotal()
Return the total number of workflows.
|
public CoordinatorJobInfo(List<CoordinatorJobBean> jobs, int start, int len, int total)
jobs
- jobs being returned.start
- coordiantor jobs offset.len
- number of coordiantor jobs.total
- total coordiantor jobs.public List<CoordinatorJobBean> getCoordJobs()
public int getStart()
For pagination purposes.
public int getLen()
For pagination purposes.
public int getTotal()
For pagination purposes.
Copyright © 2018 Apache Software Foundation. All rights reserved.