public class WorkflowsInfo extends Object
Constructor and Description |
---|
WorkflowsInfo(List<WorkflowJobBean> workflows,
int start,
int len,
int total)
Create a workflows info bean.
|
Modifier and Type | Method and Description |
---|---|
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.
|
List<WorkflowJobBean> |
getWorkflows()
Return the workflows being returned.
|
public WorkflowsInfo(List<WorkflowJobBean> workflows, int start, int len, int total)
workflows
- workflows being returned.start
- workflows offset.len
- number of workflows.total
- total workflows.public List<WorkflowJobBean> getWorkflows()
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.