Class AbstractPCMWorkflowRunConfiguration
java.lang.Object
de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
- All Implemented Interfaces:
de.uka.ipd.sdq.workflow.configuration.IJobConfiguration
,Cloneable
- Direct Known Subclasses:
AbstractCodeGenerationWorkflowRunConfiguration
public abstract class AbstractPCMWorkflowRunConfiguration
extends de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
implements Cloneable
Base class of workflow configuration objects where the workflow has to deal with a PCM model
instance. This configuration class holds the locations of the PCM model parts, and (for
convinience) a static list of EPackages needed to read the files.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Activation state of the accuracy influence analysis.protected AccuracyInfluenceAnalysisState
State of the current accuracy influence analysis.protected IIssueReceiver
Job receiving the issues occurred during accuracy influence analysis.protected String
Path to the file containing the accuracy information model.protected boolean
State if temporary data (models and/or code) should be deleted after the analysis.protected String
protected boolean
static final EPackage[]
Contains All EPackages within or referenced by PCM.protected String
protected String
Storage for temporary models and code.protected String
Fields inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
isDebug, isInteractive
Fields inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
isFixed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
getClone()
boolean
boolean
boolean
void
setAccuracyInfluenceAnalysisEnabled
(boolean enabled) Set the activation state of the accuracy influence analysis.void
setAccuracyInfluenceAnalysisState
(AccuracyInfluenceAnalysisState accuracyInfluenceAnalysisState) Sets the accuracy influence analysis state.void
setAccuracyInfluenceIssueReceivingJob
(IIssueReceiver accuracyInfluenceIssueReceivingJob) void
setAccuracyInformationModelFile
(String accuracyInformationModelFile) Set the path to the file containing the accuracy information model.void
setAllocationFiles
(List<String> allocationFile) void
setBaseProjectID
(String baseProjectID) void
setDeleteTemporaryDataAfterAnalysis
(boolean deleteTemporaryDataAfterAnalysis) Sets the activation state for the deletion of temporary data after an analysis.void
setEventMiddlewareFile
(String eventMiddlewareFile) Sets the filename of the PCM's middleware completion repositoryvoid
setGeneratedProjectPath
(String generatedProjectPath) void
setModelPaths
(List<String> modelPaths) void
setOverwriteWithoutAsking
(boolean overwriteWithoutAsking) void
setRMIMiddlewareFile
(String rmiMiddlewareFile) Sets the filename of the PCM's RMI middleware repositoryvoid
setStoragePluginID
(String pluginID) Sets the name of the Eclipse plug-in project which will be generated as temporary storage for models and, if applicable, code.void
setUsageModelFile
(String usageModelFile) void
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.workflow.configuration.IJobConfiguration
getErrorMessage, isValid, setDefaults
-
Field Details
-
PCM_EPACKAGES
Contains All EPackages within or referenced by PCM. Used, e.g., for OAW template generation. -
rmiMiddlewareFile
-
eventMiddlewareFile
-
allocationFiles
-
usageModelFile
-
temporaryDataLocation
Storage for temporary models and code. -
deleteTemporaryDataAfterAnalysis
protected boolean deleteTemporaryDataAfterAnalysisState if temporary data (models and/or code) should be deleted after the analysis. -
accuracyInfluenceAnalysisEnabled
protected boolean accuracyInfluenceAnalysisEnabledActivation state of the accuracy influence analysis. -
accuracyInformationModelFile
Path to the file containing the accuracy information model. -
accuracyInfluenceAnalysisState
State of the current accuracy influence analysis. -
accuracyInfluenceIssueReceivingJob
Job receiving the issues occurred during accuracy influence analysis. -
overwriteWithoutAsking
protected boolean overwriteWithoutAsking
-
-
Constructor Details
-
AbstractPCMWorkflowRunConfiguration
public AbstractPCMWorkflowRunConfiguration()
-
-
Method Details
-
getAccuracyInfluenceIssueReceivingJob
- Returns:
- Returns the receiving job for accuracy influence analysis issues
-
setAccuracyInfluenceIssueReceivingJob
public void setAccuracyInfluenceIssueReceivingJob(IIssueReceiver accuracyInfluenceIssueReceivingJob) - Parameters:
accuracyInfluenceIssueReceivingJob
- Sets the receiving job for accuracy influence analysis issues.
-
getAccuracyInfluenceAnalysisState
- Returns:
- Returns the current accuracy influence analysis state.
-
setAccuracyInfluenceAnalysisState
public void setAccuracyInfluenceAnalysisState(AccuracyInfluenceAnalysisState accuracyInfluenceAnalysisState) Sets the accuracy influence analysis state.- Parameters:
accuracyInfluenceAnalysisState
- The new state.
-
isDeleteTemporaryDataAfterAnalysis
public boolean isDeleteTemporaryDataAfterAnalysis()- Returns:
- if deletion of temporary data after analysis is enabled.
-
setDeleteTemporaryDataAfterAnalysis
public void setDeleteTemporaryDataAfterAnalysis(boolean deleteTemporaryDataAfterAnalysis) Sets the activation state for the deletion of temporary data after an analysis.- Parameters:
deleteTemporaryDataAfterAnalysis
-
-
isAccuracyInfluenceAnalysisEnabled
public boolean isAccuracyInfluenceAnalysisEnabled()- Returns:
- Returns the activation state of the accuracy influence analysis.
-
setAccuracyInfluenceAnalysisEnabled
public void setAccuracyInfluenceAnalysisEnabled(boolean enabled) Set the activation state of the accuracy influence analysis.- Parameters:
enabled
- Activation state.
-
getAccuracyInformationModelFile
- Returns:
- Returns the string representation of the path to the file containing the accuracy information model.
-
setAccuracyInformationModelFile
Set the path to the file containing the accuracy information model.- Parameters:
accuracyInformationModelFile
-
-
getStoragePluginID
- Returns:
- Returns the ID of the Eclipse plug-in project to be generated as temporary storage for models and, if applicable, code.
-
setStoragePluginID
Sets the name of the Eclipse plug-in project which will be generated as temporary storage for models and, if applicable, code.- Parameters:
pluginID
- The name of the project containing the generated code
-
getPCMModelFiles
- Returns:
- Returns a list of string URIs containing all model files needed for a full PCM instance
-
getRMIMiddlewareFile
- Returns:
- Returns the filename of the PCM's RMI middleware repository repository
-
setRMIMiddlewareFile
Sets the filename of the PCM's RMI middleware repository- Parameters:
middlewareFile
-
-
getEventMiddlewareFile
- Returns:
- Returns the filename of the PCM's middleware completion repository. If the repository was not set before, the default file will be returned.
-
setEventMiddlewareFile
Sets the filename of the PCM's middleware completion repository- Parameters:
eventMiddlewareFile
-
-
getAllocationFiles
-
setAllocationFiles
-
getUsageModelFile
-
setUsageModelFile
-
isOverwriteWithoutAsking
public boolean isOverwriteWithoutAsking() -
setOverwriteWithoutAsking
public void setOverwriteWithoutAsking(boolean overwriteWithoutAsking) -
getBaseProjectID
-
setBaseProjectID
-
getModelPaths
-
setModelPaths
-
getGeneratedProjectPath
-
setGeneratedProjectPath
-
validateAndFreeze
public void validateAndFreeze() throws de.uka.ipd.sdq.workflow.configuration.InvalidWorkflowJobConfigurationException- Overrides:
validateAndFreeze
in classde.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
- Throws:
de.uka.ipd.sdq.workflow.configuration.InvalidWorkflowJobConfigurationException
-
clone
- Overrides:
clone
in classde.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
- Throws:
CloneNotSupportedException
-
getClone
-