public class MoMaInterface
extends java.lang.Object
Constructor and Description |
---|
MoMaInterface()
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
copyProperties(java.util.Hashtable<java.lang.String,java.lang.Object> constants)
Copy all strings from the constants hashtable to properties in the modelmapper context.
|
boolean |
execute()
Performs the execute phase of the MoMa sequence.
|
Status |
getStatusCode()
Get the status code
|
java.lang.String |
getStatusMessage()
Get the status message
|
java.lang.String |
getTestrunId()
Get the content of property "Itool.CreatedTestrunId" from the modelmapper context.
|
boolean |
init(java.lang.String jobFilename,
java.lang.String meaFilename)
Create and initialize the MoMa object.
|
boolean |
moMaAvailable()
Check if the MoMa binaries are available.
|
void |
terminate()
Perform the terminate phase of the modelmapper sequence.
|
public boolean moMaAvailable()
public boolean init(java.lang.String jobFilename, java.lang.String meaFilename)
jobFilename
- The MoMa control file containing the configuration and rules.meaFilename
- The name of the file to import.public void copyProperties(java.util.Hashtable<java.lang.String,java.lang.Object> constants)
constants
- The constants hashtable containing all importtool constants.public boolean execute()
public Status getStatusCode()
public java.lang.String getStatusMessage()
public void terminate()
public java.lang.String getTestrunId()