Class VNUMLTransformation
java.lang.Object
|
+--TIMTransformation
|
+--VNUMLTransformation
- public class VNUMLTransformation
- extends TIMTransformation
This class implements the TIM-to-VNUML transformations.
- Author:
- Fermin Galan Marquez
Constructor Summary |
VNUMLTransformation(javax.wbem.client.CIMClient cc,
boolean initializeFromCIMOM)
Class constructor |
VNUMLTransformation
public VNUMLTransformation(javax.wbem.client.CIMClient cc,
boolean initializeFromCIMOM)
throws TIMTransformationException
- Class constructor
- Parameters:
cc
- the (already opened) connection to the CIMOMinitializeFromCIMOM
- if true, the testbed parameters are got from CIMON when
initializing the transformers, instead of using default values in the code
- Throws:
TIMTransformationException
toTsm
public String toTsm(String scenarioName)
throws TIMTransformationException
- Performs the TIM-to-VNUML transformation, returning a String enclosing a
VNUML-compliant XML
- Specified by:
toTsm
in class TIMTransformation
- Parameters:
scenarioName
- the name of the scenario to be transformed
- Returns:
- the derived TSM model (VNUML-compliant XML)
- Throws:
TIMTransformationException
getDefaultConsole
public String getDefaultConsole()
setDefaultConsole
public void setDefaultConsole(String defaultConsole)
getDefaultExecMode
public String getDefaultExecMode()
setDefaultExecMode
public void setDefaultExecMode(String defaultExecMode)
getDefaultFilesystem
public String getDefaultFilesystem()
setDefaultFilesystem
public void setDefaultFilesystem(String defaultFilesystem)
getDefaultFilesystemType
public String getDefaultFilesystemType()
setDefaultFilesystemType
public void setDefaultFilesystemType(String defaultFilesystemType)
getDefaultKernel
public String getDefaultKernel()
setDefaultKernel
public void setDefaultKernel(String defaultKernel)
getSpecVersion
public String getSpecVersion()
setSpecVersion
public void setSpecVersion(String specVersion)