public class PDSSawmillManager extends Object implements SawmillManager
Constructor and Description |
---|
PDSSawmillManager() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void updateDatabase(String profileName) throws SawmillException
SawmillManager
updateDatabase
in interface SawmillManager
profileName
- The name of the profile that will be updatedSawmillException
- 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 builtSawmillException
- 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 placedSawmillException
- If any of the parameters are null or emptypublic void outputCommands()
SawmillManager
outputCommands
in interface SawmillManager
Copyright © 2010–2017 Planetary Data System. All rights reserved.