|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.report.sawmill.PDSSawmillManager
public class PDSSawmillManager
This class creates a queue of Sawmill operations and executes them by invoking the outputCommands() method. This will make the queued commands execute in a manner specific to the implementation of SawmillInterface being used.
Constructor Summary | |
---|---|
PDSSawmillManager()
|
Method Summary | |
---|---|
void |
buildDatabase(String profileName)
Add a Sawmill command to the queue to rebuild the database for a given Sawmill profile. |
void |
generateReport(String profileName,
String reportName,
String outputPath)
Add a Sawmill command to the queue to generate a report specified using the given Sawmill profile and report at the given location. |
void |
outputCommands()
Make the queued Sawmill commands execute in a manner determined by the SawmillInterface implementation being used. |
void |
updateDatabase(String profileName)
Add a Sawmill command to the queue to update the database for a given Sawmill profile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDSSawmillManager()
Method Detail |
---|
public void updateDatabase(String profileName) throws SawmillException
SawmillManager
updateDatabase
in interface SawmillManager
profileName
- The name of the profile that will be updated
SawmillException
- If a null or empty profile name is givenpublic void buildDatabase(String profileName) throws SawmillException
SawmillManager
buildDatabase
in interface SawmillManager
profileName
- The name of the profile that will be built
SawmillException
- If a null or empty profile name is givenpublic void generateReport(String profileName, String reportName, String outputPath) throws SawmillException
SawmillManager
generateReport
in interface SawmillManager
profileName
- The name of the profile that specifies the
reportreportName
- The name of the reportoutputPath
- The path to the directory where the report will
be placed
SawmillException
- If any of the parameters are null or emptypublic void outputCommands()
SawmillManager
outputCommands
in interface SawmillManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |