Class AbstractCodeGenerationWorkflowRunConfiguration
java.lang.Object
de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
de.uka.ipd.sdq.workflow.launchconfig.core.AbstractWorkflowBasedRunConfiguration
org.palladiosimulator.analyzer.workflow.core.configurations.AbstractPCMWorkflowRunConfiguration
org.palladiosimulator.analyzer.workflow.core.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 ClassesModifier and TypeClassDescriptionstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected List<SensitivityAnalysisConfiguration>protected booleanFields inherited from class org.palladiosimulator.analyzer.workflow.core.configurations.AbstractPCMWorkflowRunConfiguration
accuracyInfluenceAnalysisEnabled, accuracyInfluenceAnalysisState, accuracyInfluenceIssueReceivingJob, accuracyInformationModelFile, allocationFiles, deleteTemporaryDataAfterAnalysis, eventMiddlewareFile, PCM_EPACKAGES, rmiMiddlewareFile, temporaryDataLocation, usageModelFileFields inherited from class de.uka.ipd.sdq.workflow.launchconfig.core.AbstractWorkflowBasedRunConfiguration
isDebug, isInteractiveFields inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
isFixed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCodeGenerationAdvice(String advice) Setter methodvoidaddRequiredBundle(String bundleid) Setter methodprotected Objectclone()Getter methodGetter methodbooleanReturns whether the middleware files and completion files should be loaded, too.booleanGet whether the code generation may overwrite any existing artifacts without asking the user.booleanvoidsetCodeGenerationAdvicesFile(AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice advice) voidsetLoadMiddlewareAndCompletionFiles(boolean loadMiddlewareAndCompletionFiles) Set whether the middleware files and completion files should be loaded, too.voidsetOverwriteWithoutAsking(boolean overwriteWithoutAsking) Set whether the code generation may overwrite any existing artifacts without asking the user.voidsetSensitivityAnalysisConfiguration(SensitivityAnalysisConfiguration sensitivityConfig) voidsetSensitivityAnalysisConfigurationList(List<SensitivityAnalysisConfiguration> sensitivityConfigList) voidsetSensitivityAnalysisEnabled(boolean sensitivityAnalysisEnabled) Methods inherited from class org.palladiosimulator.analyzer.workflow.core.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, validateAndFreezeMethods inherited from class de.uka.ipd.sdq.workflow.launchconfig.core.AbstractWorkflowBasedRunConfiguration
isDebug, isInteractive, setDebug, setInteractiveMethods inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
checkFixed, getErrorMessage, isFrozen, isValid, setDefaultsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.uka.ipd.sdq.workflow.configuration.IJobConfiguration
getErrorMessage, isValid, setDefaults
-
Field Details
-
overwriteWithoutAsking
protected boolean overwriteWithoutAsking -
loadMiddlewareAndCompletionFiles
protected boolean loadMiddlewareAndCompletionFiles -
codeGenerationAdvice
-
sensitivityAnalysisConfigurationList
-
sensitivityAnalysisEnabled
protected boolean sensitivityAnalysisEnabled
-
-
Constructor Details
-
AbstractCodeGenerationWorkflowRunConfiguration
public AbstractCodeGenerationWorkflowRunConfiguration()Constructor
-
-
Method Details
-
getStoragePluginID
- Overrides:
getStoragePluginIDin 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:
setOverwriteWithoutAskingin 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:
isOverwriteWithoutAskingin 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
-
setSensitivityAnalysisEnabled
public void setSensitivityAnalysisEnabled(boolean sensitivityAnalysisEnabled) -
setSensitivityAnalysisConfiguration
-
setSensitivityAnalysisConfigurationList
public void setSensitivityAnalysisConfigurationList(List<SensitivityAnalysisConfiguration> sensitivityConfigList) -
getCodeGenerationAdvice
public AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice getCodeGenerationAdvice() -
getCodeGenerationAdvicesFile
-
setCodeGenerationAdvicesFile
public void setCodeGenerationAdvicesFile(AbstractCodeGenerationWorkflowRunConfiguration.CodeGenerationAdvice advice) -
addCodeGenerationAdvice
Setter method- Parameters:
advice- a code generation advice
-
addRequiredBundle
Setter method- Parameters:
advice- a code generation advice
-
getCodeGenerationAdvices
Getter method- Returns:
- the codeGenerationAdvices list.
-
getCodeGenerationRequiredBundles
Getter method- Returns:
- the codeGenerationRequiredBundles list.
-
clone
- Overrides:
clonein classAbstractPCMWorkflowRunConfiguration- Throws:
CloneNotSupportedException
-