Spring for Apache Hadoop

org.springframework.yarn.support.console
Class ApplicationsReport.InstalledReportBuilder

java.lang.Object
  extended by org.springframework.yarn.support.console.ApplicationsReport.InstalledReportBuilder
Enclosing class:
ApplicationsReport

public static class ApplicationsReport.InstalledReportBuilder
extends java.lang.Object

Builder for installed applications.


Method Summary
 ApplicationsReport.InstalledReportBuilder add(ApplicationsReport.InstalledField f)
          Adds a new field into a report.
 ApplicationsReport build()
          Builds an applications report.
 ApplicationsReport.InstalledReportBuilder from(org.apache.hadoop.fs.FileStatus[] fileStatuses)
          Add a source this report will be build from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public ApplicationsReport.InstalledReportBuilder add(ApplicationsReport.InstalledField f)
Adds a new field into a report.

Parameters:
f - the field
Returns:
the builder for chaining

from

public ApplicationsReport.InstalledReportBuilder from(org.apache.hadoop.fs.FileStatus[] fileStatuses)
Add a source this report will be build from.

Parameters:
fileStatuses - the fileStatuses
Returns:
the builder for chaining

build

public ApplicationsReport build()
Builds an applications report.

Returns:
the applications report

Spring for Apache Hadoop