org.apache.oozie
Class BundleJobInfo

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

public class BundleJobInfo
extends Object


Constructor Summary
BundleJobInfo(List<BundleJobBean> jobs, int start, int len, int total)
          Create a bundle info bean.
 
Method Summary
 List<BundleJobBean> getBundleJobs()
          Return the bundle jobs being returned.
 int getLen()
          Return the number of the bundle being returned.
 int getStart()
          Return the offset of the bundles being returned.
 int getTotal()
          Return the total number of bundles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleJobInfo

public BundleJobInfo(List<BundleJobBean> jobs,
                     int start,
                     int len,
                     int total)
Create a bundle info bean.

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

getBundleJobs

public List<BundleJobBean> getBundleJobs()
Return the bundle jobs being returned.

Returns:
the bundle jobs being returned.

getStart

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

For pagination purposes.

Returns:
the offset of the bundle jobs being returned.

getLen

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

For pagination purposes.

Returns:
the number of the bundle jobs being returned.

getTotal

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

For pagination purposes.

Returns:
the total number of bundle jobs.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.