Class 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
    • Constructor Detail

      • AbstractCodeGenerationWorkflowRunConfiguration

        public AbstractCodeGenerationWorkflowRunConfiguration()
        Constructor
    • Method Detail

      • 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()
      • setSensitivityAnalysisEnabled

        public void setSensitivityAnalysisEnabled​(boolean sensitivityAnalysisEnabled)
      • getCodeGenerationAdvicesFile

        public String getCodeGenerationAdvicesFile()
      • 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.