public class DaxReader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ORIGINAL_DAX_FILE
The Constant ORIGINAL_DAX_FILE.
|
| Constructor and Description |
|---|
DaxReader()
Instantiates a new dax reader.
|
DaxReader(java.lang.String filename)
Instantiates a new dax reader.
|
DaxReader(java.lang.String daxPackage,
java.lang.String file,
java.lang.String job)
Instantiates a new dax reader.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getFile()
Gets the file.
|
java.lang.String |
getFileName()
Gets the file name.
|
java.util.Vector<DaxJobHolder> |
getJobHoldersFromNodeList(org.w3c.dom.NodeList jobList)
Gets the job holders from node list.
|
TaskGraph |
importWorkflow(java.io.File file,
TrianaProperties properties)
Import workflow.
|
static java.lang.String |
lcs(java.lang.String a,
java.lang.String b)
Lcs.
|
static void |
main(java.lang.String[] args)
The main method.
|
void |
setFile(java.io.File file)
set the DAX file to create the workflow from.
|
public static final java.lang.String ORIGINAL_DAX_FILE
public DaxReader()
public DaxReader(java.lang.String filename)
filename - the filenamepublic DaxReader(java.lang.String daxPackage,
java.lang.String file,
java.lang.String job)
daxPackage - the dax packagefile - the filejob - the jobpublic static void main(java.lang.String[] args)
args - the argumentspublic TaskGraph importWorkflow(java.io.File file, TrianaProperties properties) throws TaskGraphException, java.io.IOException
file - the fileproperties - the propertiesTaskGraphException - the task graph exceptionjava.io.IOException - Signals that an I/O exception has occurred.public void setFile(java.io.File file)
file - the new filepublic java.util.Vector<DaxJobHolder> getJobHoldersFromNodeList(org.w3c.dom.NodeList jobList)
jobList - the job listpublic static java.lang.String lcs(java.lang.String a,
java.lang.String b)
a - the ab - the bpublic java.io.File getFile()
public java.lang.String getFileName()