|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprojassist.readme.ReadmePlugin
This is the Bean that is used in the Readme plugin.
Constructor Summary | |
ReadmePlugin()
Default constructor, sets all values to their defaults. |
|
ReadmePlugin(java.lang.String theRootPath,
java.lang.String theSeekFileName,
java.lang.String theOutputDirectory,
java.lang.String theOutputReportFileName,
java.lang.String theBaseDir)
Constructor that sets all fields to given values. |
Method Summary | |
void |
generateReport()
Execute this plugin. |
java.lang.String |
getBaseDir()
Get this project's base directory. |
java.lang.String |
getOutputDirectory()
Get the base output directory. |
java.lang.String |
getOutputReportFileName()
Get the output report file name. |
int |
getProcessedCount()
Get the number of files that were processed in this report. |
java.lang.String |
getRootPath()
Get the root search path. |
java.lang.String |
getSeekFileName()
Get the filename to look for. |
static void |
main(java.lang.String[] args)
|
void |
setBaseDir(java.lang.String theBaseDir)
Set the base dir of the project we're working in. |
void |
setOutputDirectory(java.lang.String theOutputDirectory)
Set the base output directory. |
void |
setOutputReportFileName(java.lang.String theOutputReportFileName)
Set the output report file name. |
void |
setRootPath(java.lang.String theRootPath)
Set the root search path. |
void |
setSeekFileName(java.lang.String theSeekFileName)
Set the filename to look for. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReadmePlugin()
ReadmePlugin(String, String, String, String, String)
public ReadmePlugin(java.lang.String theRootPath, java.lang.String theSeekFileName, java.lang.String theOutputDirectory, java.lang.String theOutputReportFileName, java.lang.String theBaseDir)
theRootPath
- The root directory that we will begin
searching in.theSeekFileName
- The name of the file that we are looking
for.theOutputDirectory
- The name of the directory that we
will write all output to.theOutputReportFileName
- The name of the file that we
will write the overview page of our findings.theBaseDir
- The base directory of the project we're
working on.setRootPath(String)
,
setSeekFileName(String)
,
setOutputDirectory(String)
,
setOutputReportFileName(String)
,
setBaseDir(String)
Method Detail |
public java.lang.String getRootPath()
public void setRootPath(java.lang.String theRootPath)
theRootPath
is
null
, then this value is set to .
.
theRootPath
- The root search path.public java.lang.String getSeekFileName()
public void setSeekFileName(java.lang.String theSeekFileName)
theSeekFileName
is null
, then this value is set to
readme.xml
.
theSeekFileName
- The file name to look for.public java.lang.String getOutputDirectory()
public void setOutputDirectory(java.lang.String theOutputDirectory)
theOutputDirectory
is null
, then
this value is set to /tmp
.
theOutputDirectory
- The base output directory.public java.lang.String getOutputReportFileName()
public void setOutputReportFileName(java.lang.String theOutputReportFileName)
theOutputReportFileName
is null
, the
this value is set to readme-report.xml
.
theOutputReportFileName
- The output report file name.public java.lang.String getBaseDir()
public void setBaseDir(java.lang.String theBaseDir)
theBaseDir
is null
then this value is
set to /tmp
.
theBaseDir
- The base directory of the project we're
working on.public int getProcessedCount()
public void generateReport() throws java.lang.Exception
java.lang.Exception
- If something went wrong.public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |