Class AbstractPCMWorkflowRunConfiguration
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
- 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.core.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
FieldsModifier and TypeFieldDescriptionprotected booleanActivation state of the accuracy influence analysis.protected AccuracyInfluenceAnalysisStateState of the current accuracy influence analysis.protected IIssueReceiverJob receiving the issues occurred during accuracy influence analysis.protected StringPath to the file containing the accuracy information model.protected booleanState if temporary data (models and/or code) should be deleted after the analysis.protected Stringprotected booleanstatic final EPackage[]Contains All EPackages within or referenced by PCM.protected Stringprotected StringStorage for temporary models and code.protected StringFields 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 TypeMethodDescriptionprotected Objectclone()getClone()booleanbooleanbooleanvoidsetAccuracyInfluenceAnalysisEnabled(boolean enabled) Set the activation state of the accuracy influence analysis.voidsetAccuracyInfluenceAnalysisState(AccuracyInfluenceAnalysisState accuracyInfluenceAnalysisState) Sets the accuracy influence analysis state.voidsetAccuracyInfluenceIssueReceivingJob(IIssueReceiver accuracyInfluenceIssueReceivingJob) voidsetAccuracyInformationModelFile(String accuracyInformationModelFile) Set the path to the file containing the accuracy information model.voidsetAllocationFiles(List<String> allocationFile) voidsetBaseProjectID(String baseProjectID) voidsetDeleteTemporaryDataAfterAnalysis(boolean deleteTemporaryDataAfterAnalysis) Sets the activation state for the deletion of temporary data after an analysis.voidsetEventMiddlewareFile(String eventMiddlewareFile) Sets the filename of the PCM's middleware completion repositoryvoidsetGeneratedProjectPath(String generatedProjectPath) voidsetModelPaths(List<String> modelPaths) voidsetOverwriteWithoutAsking(boolean overwriteWithoutAsking) voidsetRMIMiddlewareFile(String rmiMiddlewareFile) Sets the filename of the PCM's RMI middleware repositoryvoidsetStoragePluginID(String pluginID) Sets the name of the Eclipse plug-in project which will be generated as temporary storage for models and, if applicable, code.voidsetUsageModelFile(String usageModelFile) voidMethods 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
-
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:
validateAndFreezein classde.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration- Throws:
de.uka.ipd.sdq.workflow.configuration.InvalidWorkflowJobConfigurationException
-
clone
- Overrides:
clonein classde.uka.ipd.sdq.workflow.launchconfig.core.AbstractWorkflowBasedRunConfiguration- Throws:
CloneNotSupportedException
-
getClone
-