public interface ResultDirHandlerInterface
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
createResultDirectory()
Create the result directory.
|
java.lang.String |
getResultDirAbsolute(java.lang.String groupName)
Build the absolute path to the result directory
|
java.lang.String |
getResultDirRelative(java.lang.String groupName)
Build the relative path to the result directory
|
void |
init(OdsSession odsSession,
InstanceElement ieTest,
java.lang.String testbedName)
Initialize the ResultDirHandler.
|
boolean |
removeResultDirectory(java.io.File directory)
Delete the result directory and all the files and subtrees.
|
void init(OdsSession odsSession, InstanceElement ieTest, java.lang.String testbedName)
odsSession
- ODS session handleieTest
- instance element of testtestbedName
- name of testbedvoid close()
java.lang.String getResultDirRelative(java.lang.String groupName)
groupName
- Name of measurement group. The implementing class can use this name
to group the result files or can ignore it to store all files in a
single directory.java.lang.String getResultDirAbsolute(java.lang.String groupName)
groupName
- Name of measurement group. The implementing class can use this name
to group the result files or can ignore it to store all files in a
single directory.boolean removeResultDirectory(java.io.File directory)
directory
- Directory to deleteboolean createResultDirectory()