edu.sdsc.inca.depot.util
Class ReportFilter

java.lang.Object
  extended by edu.sdsc.inca.depot.util.ReportFilter
Direct Known Subclasses:
All2AllFilter, DowntimeFilter, InsertTest.ModifyingFilter, InsertTest.SuppressingFilter, InsertTest.TestReportFilter

public class ReportFilter
extends java.lang.Object

A class that allows an Inca installation to make changes to incoming reports before they're processed by the Depot.

Author:
jhayes

Field Summary
protected  java.lang.String context
           
protected  java.lang.String resource
           
protected  java.lang.String stderr
           
protected  java.lang.String stdout
           
protected  java.lang.String sysusage
           
 
Constructor Summary
ReportFilter()
          Constructs a new ReportFilter.
 
Method Summary
 java.lang.String getContext()
          Returns the filtered reporter context.
 java.lang.String getResource()
          Returns the filtered reporter resource name.
 java.lang.String getStderr()
          Returns the filtered reporter stderr output.
 java.lang.String getStdout()
          Returns the filtered reporter stdout output.
 java.lang.String getSysusage()
          Returns the filtered reporter system resource usage report.
 void setContext(java.lang.String context)
          Sets the filtered reporter context.
 void setResource(java.lang.String resource)
          Sets the filtered reporter resource name.
 void setStderr(java.lang.String stderr)
          Sets the filtered reporter stderr output.
 void setStdout(java.lang.String stdout)
          Sets the filtered reporter stdout output.
 void setSysusage(java.lang.String sysusage)
          Sets the filtered reporter system resource usage report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected java.lang.String context

resource

protected java.lang.String resource

stderr

protected java.lang.String stderr

stdout

protected java.lang.String stdout

sysusage

protected java.lang.String sysusage
Constructor Detail

ReportFilter

public ReportFilter()
Constructs a new ReportFilter.

Method Detail

getContext

public java.lang.String getContext()
Returns the filtered reporter context.

Returns:
the filtered reporter context

getResource

public java.lang.String getResource()
Returns the filtered reporter resource name.

Returns:
the filtered reporter resource name

getStderr

public java.lang.String getStderr()
Returns the filtered reporter stderr output.

Returns:
the filtered reporter resource stderr output; may be null

getStdout

public java.lang.String getStdout()
Returns the filtered reporter stdout output.

Returns:
the filtered reporter stdout output; must be valid report XML

getSysusage

public java.lang.String getSysusage()
Returns the filtered reporter system resource usage report.

Returns:
the filtered reporter system resource usage report

setContext

public void setContext(java.lang.String context)
Sets the filtered reporter context.

Parameters:
context - the filtered reporter context

setResource

public void setResource(java.lang.String resource)
Sets the filtered reporter resource name.

Parameters:
resource - the filtered reporter resource name

setStderr

public void setStderr(java.lang.String stderr)
Sets the filtered reporter stderr output.

Parameters:
stderr - the filtered reporter resource stderr output; may be null

setStdout

public void setStdout(java.lang.String stdout)
Sets the filtered reporter stdout output.

Parameters:
stdout - the filtered reporter stdout output; must be valid report XML

setSysusage

public void setSysusage(java.lang.String sysusage)
Sets the filtered reporter system resource usage report.

Parameters:
sysusage - the filtered reporter system resource usage report