|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SawmillManager
These classes allow the user to execute Sawmill operations, abstracting the manner in which the commands for those operations are performed. The user can specify the precise mechanism that executes the commands by setting gov.nasa.pds.report.sawmill.interface in the default.properties file.
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. |
Method Detail |
---|
void updateDatabase(String profileName) throws SawmillException
profileName
- The name of the profile that will be updated
SawmillException
- If a null or empty profile name is givenvoid buildDatabase(String profileName) throws SawmillException
profileName
- The name of the profile that will be built
SawmillException
- If a null or empty profile name is givenvoid generateReport(String profileName, String reportName, String outputPath) throws SawmillException
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 emptyvoid outputCommands() throws SawmillException
SawmillException
- If an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |