org.apache.oozie
Class CoordinatorJobInfo

java.lang.Object
  extended by org.apache.oozie.CoordinatorJobInfo

public class CoordinatorJobInfo
extends Object


Constructor Summary
CoordinatorJobInfo(List<CoordinatorJobBean> jobs, int start, int len, int total)
          Create a coordinator info bean.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordinatorJobInfo

public CoordinatorJobInfo(List<CoordinatorJobBean> jobs,
                          int start,
                          int len,
                          int total)
Create a coordinator info bean.

Parameters:
coordiantor - jobs being returned.
start - coordiantor jobs offset.
len - number of coordiantor jobs.
total - total coordiantor jobs.
Method Detail

getCoordJobs

public List<CoordinatorJobBean> getCoordJobs()
Return the coordiantor jobs being returned.

Returns:
the coordiantor jobs being returned.

getStart

public int getStart()
Return the offset of the workflows being returned.

For pagination purposes.

Returns:
the offset of the coordiantor jobs being returned.

getLen

public int getLen()
Return the number of the workflows being returned.

For pagination purposes.

Returns:
the number of the coordiantor jobs being returned.

getTotal

public int getTotal()
Return the total number of workflows.

For pagination purposes.

Returns:
the total number of coordiantor jobs.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.