Class AbstractCodeGenerationWorkflowRunConfiguration

java.lang.Object
de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
org.palladiosimulator.analyzer.workflow.configurations.AbstractCodeGenerationWorkflowRunConfiguration
All Implemented Interfaces:
de.uka.ipd.sdq.workflow.configuration.IJobConfiguration, Cloneable

public abstract class AbstractCodeGenerationWorkflowRunConfiguration extends AbstractPCMWorkflowRunConfiguration implements Cloneable
Base class of workflow configuration objects where the corresponding workflow transforms PCM models into some kind of code
  • Field Details

  • Constructor Details

    • AbstractCodeGenerationWorkflowRunConfiguration

      public AbstractCodeGenerationWorkflowRunConfiguration()
      Constructor
  • Method Details

    • getStoragePluginID

      public String getStoragePluginID()
      Overrides:
      getStoragePluginID in class AbstractPCMWorkflowRunConfiguration
      Returns:
      Returns the ID of the Eclipse plugin to be generated by the code transformation. This is the name of the Eclipse project which will contain the generated code
    • setOverwriteWithoutAsking

      public void setOverwriteWithoutAsking(boolean overwriteWithoutAsking)
      Set whether the code generation may overwrite any existing artifacts without asking the user. If set to false, the code generation has to ask the user first.
      Overrides:
      setOverwriteWithoutAsking in class AbstractPCMWorkflowRunConfiguration
      Parameters:
      overwriteWithoutAsking -
    • isOverwriteWithoutAsking

      public boolean isOverwriteWithoutAsking()
      Get whether the code generation may overwrite any existing artifacts without asking the user. If set to false, the code generation has to ask the user first.
      Overrides:
      isOverwriteWithoutAsking in class AbstractPCMWorkflowRunConfiguration
      Returns:
      true if the code can be overwritten without asking, else false
    • setLoadMiddlewareAndCompletionFiles

      public void setLoadMiddlewareAndCompletionFiles(boolean loadMiddlewareAndCompletionFiles)
      Set whether the middleware files and completion files should be loaded, too. This is for example required for the simulation of linking resources.
      Parameters:
      loadMiddlewareAndCompletionFiles - the loadMiddlewareAndCompletionFiles to set
    • isLoadMiddlewareAndCompletionFiles

      public boolean isLoadMiddlewareAndCompletionFiles()
      Returns whether the middleware files and completion files should be loaded, too. This is for example required for the simulation of linking resources.
      Returns:
      the loadMiddlewareAndCompletionFiles
    • isSensitivityAnalysisEnabled

      public boolean isSensitivityAnalysisEnabled()
    • getSensitivityAnalysisConfigurations

      public List<SensitivityAnalysisConfiguration> getSensitivityAnalysisConfigurations()
    • setSensitivityAnalysisEnabled

      public void setSensitivityAnalysisEnabled(boolean sensitivityAnalysisEnabled)
    • setSensitivityAnalysisConfiguration

      public void setSensitivityAnalysisConfiguration(SensitivityAnalysisConfiguration sensitivityConfig)
    • setSensitivityAnalysisConfigurationList

      public void setSensitivityAnalysisConfigurationList(List<SensitivityAnalysisConfiguration> sensitivityConfigList)
    • getCodeGenerationAdvice

    • getCodeGenerationAdvicesFile

      public String getCodeGenerationAdvicesFile()
    • setCodeGenerationAdvicesFile

      public void setCodeGenerationAdvicesFile(AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice advice)
    • addCodeGenerationAdvice

      public void addCodeGenerationAdvice(String advice)
      Setter method
      Parameters:
      advice - a code generation advice
    • addRequiredBundle

      public void addRequiredBundle(String bundleid)
      Setter method
      Parameters:
      advice - a code generation advice
    • getCodeGenerationAdvices

      public List<String> getCodeGenerationAdvices()
      Getter method
      Returns:
      the codeGenerationAdvices list.
    • getCodeGenerationRequiredBundles

      public List<String> getCodeGenerationRequiredBundles()
      Getter method
      Returns:
      the codeGenerationRequiredBundles list.
    • clone

      protected Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class AbstractPCMWorkflowRunConfiguration
      Throws:
      CloneNotSupportedException