Class TIMTransformation
java.lang.Object
|
+--TIMTransformation
- Direct Known Subclasses:
- AdrenalineTransformation, VNUMLTransformation
- public abstract class TIMTransformation
- extends Object
This is the abstract class for TIM to TSM transformation.
Specific transformations for specific testbed are derived from it.
- Author:
- Fermin Galan Marquez
Method Summary |
abstract String |
toTsm(String testbedName)
Performs the TIM-to-TSM transformation, returning a String enclosing the TSM
model. |
void |
toTsm(String testbedName,
String fileName)
Performs the TIM-to-TSM transformation, writing the TSM to a file. |
TIMTransformation
public TIMTransformation()
toTsm
public abstract String toTsm(String testbedName)
throws TIMTransformationException
- Performs the TIM-to-TSM transformation, returning a String enclosing the TSM
model.
- Parameters:
testbedName
- the name of the testbed to be transformed
- Returns:
- the derived TSM model
- Throws:
TIMTransformationException
toTsm
public void toTsm(String testbedName,
String fileName)
throws TIMTransformationException
- Performs the TIM-to-TSM transformation, writing the TSM to a file.
- Parameters:
testbedName
- the name of the testbed to be transformedfileName
- the filename in which the TSM model would be writted
- Throws:
TIMTransformationException