public class ProvenanceManager extends java.lang.Object
| Constructor and Description |
|---|
ProvenanceManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteRun(java.lang.Integer execId)
Delete a run.
|
static void |
deleteRuns(java.util.List<KeplerLSID> execLSIDs)
Delete runs.
|
static void |
exportProvenance(java.lang.String outputFileName,
boolean delete)
Export all runs to a KAR file.
|
static void |
exportProvenance(java.lang.String outputFileName,
boolean delete,
int execId)
Export a set of provenance runs to a KAR file.
|
static void |
exportProvenance(java.lang.String outputFileName,
boolean delete,
java.util.List<KeplerLSID> runs)
Export a set of provenance runs to a KAR file.
|
static void |
exportProvenance(java.lang.String outputFileName,
boolean delete,
java.util.List<KeplerLSID> runs,
java.lang.String format)
Export a set of provenance runs to a KAR file.
|
static void |
exportROBundle(java.lang.String outputFileName,
KeplerLSID runLSID)
Export a research object bundle
|
static void |
exportWorkflow(java.lang.String outputFileName,
KeplerLSID runLSID)
Export a workflow to a file.
|
static void |
importProvenance(java.lang.String inputFileName,
boolean force)
Import provenance from a KAR file.
|
static void |
listRuns()
List the runs.
|
static void |
main(java.lang.String[] args)
Program entry point.
|
public ProvenanceManager()
public static void deleteRun(java.lang.Integer execId) throws java.lang.Exception
java.lang.Exceptionpublic static void deleteRuns(java.util.List<KeplerLSID> execLSIDs) throws java.lang.Exception
java.lang.Exceptionpublic static void exportProvenance(java.lang.String outputFileName, boolean delete) throws java.lang.Exception
outputFileName - the name of the KAR file.delete - if true, delete the runs after being exported.java.lang.Exceptionpublic static void exportProvenance(java.lang.String outputFileName, boolean delete, int execId) throws java.lang.Exception
outputFileName - the name of the KAR file.delete - if true, delete each run exported.execId - the execution id of the run to export.java.lang.Exceptionpublic static void exportProvenance(java.lang.String outputFileName, boolean delete, java.util.List<KeplerLSID> runs) throws java.lang.Exception
outputFileName - the name of the KAR file.delete - if true, delete each run exported.runs - the set of KeplerLSID runs to export.java.lang.Exceptionpublic static void exportProvenance(java.lang.String outputFileName, boolean delete, java.util.List<KeplerLSID> runs, java.lang.String format) throws java.lang.Exception
outputFileName - the name of the KAR file.delete - if true, delete each run exported.runs - the set of KeplerLSID runs to export.java.lang.Exceptionpublic static void exportROBundle(java.lang.String outputFileName, KeplerLSID runLSID) throws java.lang.Exception
java.lang.Exceptionpublic static void exportWorkflow(java.lang.String outputFileName, KeplerLSID runLSID) throws java.lang.Exception
outputFileName - The name of the workflow file.runLSID - The run LSID of the workflow to export.java.lang.Exceptionpublic static void importProvenance(java.lang.String inputFileName, boolean force) throws java.lang.Exception
inputFileName - the name of the KAR file to import from.force - if true, try to import despite missing any module
dependencies. if false, and there are missing dependencies, throws
an exception.java.lang.Exceptionpublic static void listRuns() throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)