jsystem.extensions.report.html
Class Report

java.lang.Object
  extended byjsystem.extensions.report.html.Report
Direct Known Subclasses:
HtmlTestList, LineBreak, Link, TestReport

public abstract class Report
extends Object


Field Summary
protected  String fileName
           
protected  boolean ignore
           
protected  boolean isSuccess
           
protected  Report parent
           
protected  String target
           
protected  String title
           
 
Constructor Summary
Report()
           
Report(String title, boolean isSuccess, boolean bold)
           
 
Method Summary
 String getFileName()
           
 Report getParent()
           
 String getTarget()
           
 String getTitle()
          Get the report title
 boolean isBold()
           
 boolean isIgnore()
           
 boolean isSuccess()
           
 void setBold(boolean bold)
           
 void setFileName(String fileName)
           
 void setIgnore(boolean ignore)
           
 void setParent(Report parent)
           
 void setSuccess(boolean isSuccess)
           
 void setTarget(String target)
           
 void setTitle(String title)
          Set the titile of the report
abstract  void toFile(String directory, NameGenerator generator)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

title

protected String title

isSuccess

protected boolean isSuccess

parent

protected Report parent

fileName

protected String fileName

target

protected String target

ignore

protected boolean ignore
Constructor Detail

Report

public Report(String title,
              boolean isSuccess,
              boolean bold)

Report

public Report()
Method Detail

toFile

public abstract void toFile(String directory,
                            NameGenerator generator)
                     throws IOException
Throws:
IOException

setTitle

public void setTitle(String title)
Set the titile of the report

Parameters:
title - report title

getTitle

public String getTitle()
Get the report title

Returns:
report title

setSuccess

public void setSuccess(boolean isSuccess)

isSuccess

public boolean isSuccess()

getParent

public Report getParent()

setParent

public void setParent(Report parent)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getTarget

public String getTarget()

setTarget

public void setTarget(String target)

isBold

public boolean isBold()

setBold

public void setBold(boolean bold)

toString

public String toString()

isIgnore

public boolean isIgnore()
Returns:
Returns the ignore.

setIgnore

public void setIgnore(boolean ignore)
Parameters:
ignore - The ignore to set.