org.jboss.tattletale.ant
Class ReportTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jboss.tattletale.ant.AbstractReportTask
              extended by org.jboss.tattletale.ant.ReportTask

public class ReportTask
extends AbstractReportTask

Implementation class for TattleTale Report Ant Task

Author:
Jesper Pedersen , Jay Balunas jbalunas@jboss.org

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
ReportTask()
          Constructor
 
Method Summary
 void execute()
          Execute
 String getBlacklisted()
          Get the blacklisted
 String getClassloader()
          Get the class loader structure
 boolean getDeleteOutputDirectory()
          Get delete output directory
 String getExcludes()
          Get the excludes
 boolean getFailOnError()
          Get fail on error
 boolean getFailOnInfo()
          Get fail on info
 boolean getFailOnWarn()
          Get fail on warn
 String getProfiles()
          Get the profiles
 String getReports()
          Get the reports
 String getScan()
          Get the scan
 void setBlacklisted(String blacklisted)
          Set the blacklisted
 void setClassloader(String cls)
          Set the class loader structure
 void setDeleteOutputDirectory(boolean b)
          Set delete output directory
 void setExcludes(String excludes)
          Set the excludes
 void setFailOnError(boolean b)
          Set fail on error
 void setFailOnInfo(boolean b)
          Set fail on info
 void setFailOnWarn(boolean b)
          Set fail on warn
 void setProfiles(String profiles)
          Set the profiles
 void setReports(String reports)
          Set the reports
 void setScan(String scan)
          Set the scan
 
Methods inherited from class org.jboss.tattletale.ant.AbstractReportTask
getConfiguration, getDestination, getFilter, getOutputDir, getScanDir, getSource, setConfiguration, setDestination, setFilter, setOutputDir, setScanDir, setSource
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportTask

public ReportTask()
Constructor

Method Detail

getClassloader

public String getClassloader()
Get the class loader structure

Returns:
The value

setClassloader

public void setClassloader(String cls)
Set the class loader structure

Parameters:
cls - The value

getProfiles

public String getProfiles()
Get the profiles

Returns:
The value

setProfiles

public void setProfiles(String profiles)
Set the profiles

Parameters:
profiles - The value

getExcludes

public String getExcludes()
Get the excludes

Returns:
The value

setExcludes

public void setExcludes(String excludes)
Set the excludes

Parameters:
excludes - The value

getBlacklisted

public String getBlacklisted()
Get the blacklisted

Returns:
The value

setBlacklisted

public void setBlacklisted(String blacklisted)
Set the blacklisted

Parameters:
blacklisted - The value

getFailOnInfo

public boolean getFailOnInfo()
Get fail on info

Returns:
The value

setFailOnInfo

public void setFailOnInfo(boolean b)
Set fail on info

Parameters:
b - The value

getFailOnWarn

public boolean getFailOnWarn()
Get fail on warn

Returns:
The value

setFailOnWarn

public void setFailOnWarn(boolean b)
Set fail on warn

Parameters:
b - The value

getFailOnError

public boolean getFailOnError()
Get fail on error

Returns:
The value

setFailOnError

public void setFailOnError(boolean b)
Set fail on error

Parameters:
b - The value

getDeleteOutputDirectory

public boolean getDeleteOutputDirectory()
Get delete output directory

Returns:
The value

setDeleteOutputDirectory

public void setDeleteOutputDirectory(boolean b)
Set delete output directory

Parameters:
b - The value

getReports

public String getReports()
Get the reports

Returns:
The value

setReports

public void setReports(String reports)
Set the reports

Parameters:
reports - The value

getScan

public String getScan()
Get the scan

Returns:
The value

setScan

public void setScan(String scan)
Set the scan

Parameters:
scan - The value

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute

Specified by:
execute in class AbstractReportTask
Throws:
org.apache.tools.ant.BuildException - If the build fails


Copyright © 2011 JBoss (http://www.jboss.com/)