de.uka.ipd.sdq.codegen.runconfig
Class AttributesGetMethods

java.lang.Object
  extended by de.uka.ipd.sdq.codegen.runconfig.AttributesGetMethods
Direct Known Subclasses:
SimuAttributesGetMethods

public abstract class AttributesGetMethods
extends Object

The class is abstract and defines the methods, which are responsible for the supply of variable from the LaunchConfiguration-Object.

Author:
Roman Andrej

Field Summary
protected  ILaunchConfiguration configuration
           
 
Constructor Summary
AttributesGetMethods(ILaunchConfiguration configuration)
           
 
Method Summary
protected abstract  String defineTemplateMethod()
          The method define a value of AOP_TEMPLATE attribute
 List<String> getFiles()
          The method supplies back a list with files, which represent an instance of the Palladio Component Model.
 Map<String,String> getOAWWorkflowProperties(int runNo)
          The method return a HashMap.
 String getPluginId()
          The method return the value of OUTPATH attribute in the ILaunchConfiguration-Object
protected abstract  boolean isShouldThrowException(ILaunchConfiguration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected ILaunchConfiguration configuration
Constructor Detail

AttributesGetMethods

public AttributesGetMethods(ILaunchConfiguration configuration)
Method Detail

getFiles

public List<String> getFiles()
                      throws JobFailedException
The method supplies back a list with files, which represent an instance of the Palladio Component Model.

Throws:
JobFailedException

getOAWWorkflowProperties

public Map<String,String> getOAWWorkflowProperties(int runNo)
                                            throws JobFailedException
The method return a HashMap. Their elements are the properties(String) contain, which oAW Workflow Engine needs for its work.

Parameters:
runNo -
Throws:
JobFailedException

isShouldThrowException

protected abstract boolean isShouldThrowException(ILaunchConfiguration configuration)
                                           throws CoreException
Parameters:
configuration - the configuration to launch
Throws:
CoreException - if launching fails

defineTemplateMethod

protected abstract String defineTemplateMethod()
The method define a value of AOP_TEMPLATE attribute


getPluginId

public String getPluginId()
The method return the value of OUTPATH attribute in the ILaunchConfiguration-Object