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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice
-
Field Summary
Fields Modifier and Type Field Description protected AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice
codeGenerationAdvice
protected boolean
loadMiddlewareAndCompletionFiles
protected boolean
overwriteWithoutAsking
protected List<SensitivityAnalysisConfiguration>
sensitivityAnalysisConfigurationList
protected boolean
sensitivityAnalysisEnabled
-
Fields inherited from class org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
accuracyInfluenceAnalysisEnabled, accuracyInfluenceAnalysisState, accuracyInfluenceIssueReceivingJob, accuracyInformationModelFile, allocationFiles, deleteTemporaryDataAfterAnalysis, eventMiddlewareFile, PCM_EPACKAGES, rmiMiddlewareFile, temporaryDataLocation, usageModelFile
-
-
Constructor Summary
Constructors Constructor Description AbstractCodeGenerationWorkflowRunConfiguration()
Constructor
-
Method Summary
-
Methods inherited from class org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
getAccuracyInfluenceAnalysisState, getAccuracyInfluenceIssueReceivingJob, getAccuracyInformationModelFile, getAllocationFiles, getBaseProjectID, getClone, getEventMiddlewareFile, getGeneratedProjectPath, getModelPaths, getPCMModelFiles, getRMIMiddlewareFile, getUsageModelFile, isAccuracyInfluenceAnalysisEnabled, isDeleteTemporaryDataAfterAnalysis, setAccuracyInfluenceAnalysisEnabled, setAccuracyInfluenceAnalysisState, setAccuracyInfluenceIssueReceivingJob, setAccuracyInformationModelFile, setAllocationFiles, setBaseProjectID, setDeleteTemporaryDataAfterAnalysis, setEventMiddlewareFile, setGeneratedProjectPath, setModelPaths, setRMIMiddlewareFile, setStoragePluginID, setUsageModelFile, validateAndFreeze
-
Methods inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
isDebug, isInteractive, setDebug, setInteractive
-
Methods inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
checkFixed, getErrorMessage, isFrozen, isValid, setDefaults
-
-
-
-
Field Detail
-
overwriteWithoutAsking
protected boolean overwriteWithoutAsking
-
loadMiddlewareAndCompletionFiles
protected boolean loadMiddlewareAndCompletionFiles
-
codeGenerationAdvice
protected AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice codeGenerationAdvice
-
sensitivityAnalysisConfigurationList
protected List<SensitivityAnalysisConfiguration> sensitivityAnalysisConfigurationList
-
sensitivityAnalysisEnabled
protected boolean sensitivityAnalysisEnabled
-
-
Method Detail
-
getStoragePluginID
public String getStoragePluginID()
- Overrides:
getStoragePluginID
in classAbstractPCMWorkflowRunConfiguration
- 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 classAbstractPCMWorkflowRunConfiguration
- 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 classAbstractPCMWorkflowRunConfiguration
- 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
public AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice 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 classAbstractPCMWorkflowRunConfiguration
- Throws:
CloneNotSupportedException
-
-