org.apache.hama.util
Class BSPServletUtil

java.lang.Object
  extended by org.apache.hadoop.util.ServletUtil
      extended by org.apache.hama.util.BSPServletUtil

public class BSPServletUtil
extends org.apache.hadoop.util.ServletUtil


Field Summary
static java.lang.String HTML_TAIL
           
 
Constructor Summary
BSPServletUtil()
           
 
Method Summary
static java.lang.String generateJobTable(java.lang.String label, JobStatus[] jobs, int refresh, int rowId)
          Method used to generate the Job table for Job pages.
static java.lang.String htmlFooter()
          HTML footer to be added in the jsps.
 
Methods inherited from class org.apache.hadoop.util.ServletUtil
getParameter, initHTML, percentageGraph, percentageGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTML_TAIL

public static final java.lang.String HTML_TAIL
Constructor Detail

BSPServletUtil

public BSPServletUtil()
Method Detail

htmlFooter

public static java.lang.String htmlFooter()
HTML footer to be added in the jsps.

Returns:
the HTML footer.

generateJobTable

public static java.lang.String generateJobTable(java.lang.String label,
                                                JobStatus[] jobs,
                                                int refresh,
                                                int rowId)
                                         throws java.io.IOException
Method used to generate the Job table for Job pages.

Parameters:
label - display heading to be used in the job table.
jobs - vector of jobs to be displayed in table.
refresh - refresh interval to be used in jobdetails page.
rowId - beginning row id to be used in the table.
Returns:
generated HTML
Throws:
java.io.IOException


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.