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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.util.Vector<java.lang.String> toTsm(java.lang.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 scenario specification and ospf plugin XMLs)
- Throws:
TIMTransformationException
toTsmScenario
public java.lang.String toTsmScenario(java.lang.String scenarioName,
boolean withOspfExtension)
throws TIMTransformationException
- Throws:
TIMTransformationException
toTsmOspf
public java.lang.String toTsmOspf(java.lang.String scenarioName)
throws TIMTransformationException
- Throws:
TIMTransformationException
getDefaultConsole
public java.lang.String getDefaultConsole()
setDefaultConsole
public void setDefaultConsole(java.lang.String defaultConsole)
getDefaultExecMode
public java.lang.String getDefaultExecMode()
setDefaultExecMode
public void setDefaultExecMode(java.lang.String defaultExecMode)
getDefaultFilesystem
public java.lang.String getDefaultFilesystem()
setDefaultFilesystem
public void setDefaultFilesystem(java.lang.String defaultFilesystem)
getDefaultFilesystemType
public java.lang.String getDefaultFilesystemType()
setDefaultFilesystemType
public void setDefaultFilesystemType(java.lang.String defaultFilesystemType)
getDefaultKernel
public java.lang.String getDefaultKernel()
setDefaultKernel
public void setDefaultKernel(java.lang.String defaultKernel)
getSpecVersion
public java.lang.String getSpecVersion()
setSpecVersion
public void setSpecVersion(java.lang.String specVersion)