Class PCMAnalysisBuilderData
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.builder.AnalysisBuilderData
org.palladiosimulator.dataflow.confidentiality.analysis.builder.pcm.PCMAnalysisBuilderData
-
Field Summary
Fields inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.builder.AnalysisBuilderData
modelProjectName, standalone
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(Resource resource) Adds the given resource to the list of saved resources that are used in the analysisCreates a new analysis data object from the configured data.Returns the plugin activator of the projectReturns the configured relative path to the allocation modelReturns the relative path to the node characteristics model the analysis is configured to useReturns the configured relative path to the usage model of the analysisReturns the list of saved resources that are used in the analysisboolean
isLegacy()
Returns, whether or not the analysis is in legacy modevoid
setLegacy
(boolean legacy) Sets the legacy mode of the analysis to allow the loading of EMF Profilesvoid
setPluginActivator
(Class<? extends Plugin> pluginActivator) Sets the plugin activator of the projectvoid
setRelativeAllocationModelPath
(String relativeAllocationModelPath) Sets the relative path to the allocation model used in the analysisvoid
setRelativeNodeCharacteristicsPath
(String relativeNodeCharacteristicsPath) Sets the relative path to the node characteristics model that is used in the analysisvoid
setRelativeUsageModelPath
(String relativeUsageModelPath) Sets the relative path to the usage model used in the analysisvoid
Validates the saved dataMethods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.builder.AnalysisBuilderData
getModelProjectName, isStandalone, setModelProjectName, setStandalone
-
Constructor Details
-
PCMAnalysisBuilderData
public PCMAnalysisBuilderData()
-
-
Method Details
-
validateData
public void validateData()Validates the saved data- Overrides:
validateData
in classAnalysisBuilderData
- Throws:
IllegalStateException
- Saved data is invalid
-
createAnalysisData
Creates a new analysis data object from the configured data. It does not check, whether all parameters are set correctly. UseDataFlowConfidentialityAnalysisBuilder
instead- Returns:
- Returns a new data object for the analysis
-
setPluginActivator
Sets the plugin activator of the project- Parameters:
pluginActivator
- Eclipse plugin activator class
-
getPluginActivator
Returns the plugin activator of the project- Returns:
- Eclipse plugin activator class of the project
-
setLegacy
public void setLegacy(boolean legacy) Sets the legacy mode of the analysis to allow the loading of EMF Profiles- Parameters:
legacy
- New value of the legacy mode
-
isLegacy
public boolean isLegacy()Returns, whether or not the analysis is in legacy mode- Returns:
- Returns true, if the analysis is in legacy mode and EMF Profiles are loaded. Otherwise, the method returns false
-
setRelativeUsageModelPath
Sets the relative path to the usage model used in the analysis- Parameters:
relativeUsageModelPath
- Relative path to the usage model
-
getRelativeUsageModelPath
Returns the configured relative path to the usage model of the analysis- Returns:
- Relative path to the usage model
-
setRelativeAllocationModelPath
Sets the relative path to the allocation model used in the analysis- Parameters:
relativeAllocationModelPath
- Relative path to the allocation model
-
getRelativeAllocationModelPath
Returns the configured relative path to the allocation model- Returns:
- Relative path to the allocation model
-
setRelativeNodeCharacteristicsPath
Sets the relative path to the node characteristics model that is used in the analysis- Parameters:
relativeNodeCharacteristicsPath
- Relative path to the node characteristics model
-
getRelativeNodeCharacteristicsPath
Returns the relative path to the node characteristics model the analysis is configured to use- Returns:
- Relative path to the node characteristcs model
-
addResource
Adds the given resource to the list of saved resources that are used in the analysis- Parameters:
resource
- Resource that should be added to the loaded resources
-
getResources
Returns the list of saved resources that are used in the analysis- Returns:
- Returns a list of resources that were registered
-