Class PCMDataFlowConfidentialityAnalysisBuilder
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.builder.AbstractDataFlowAnalysisBuilder<AbstractStandalonePCMDataFlowConfidentialityAnalysis,PCMAnalysisBuilderData,AnalysisBuilderData>
org.palladiosimulator.dataflow.confidentiality.analysis.builder.pcm.PCMDataFlowConfidentialityAnalysisBuilder
public class PCMDataFlowConfidentialityAnalysisBuilder
extends AbstractDataFlowAnalysisBuilder<AbstractStandalonePCMDataFlowConfidentialityAnalysis,PCMAnalysisBuilderData,AnalysisBuilderData>
-
Field Summary
Fields inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.builder.AbstractDataFlowAnalysisBuilder
builder, builderData, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the analysis with the given builder datavoidcopyBuilderData(AnalysisBuilderData builderData) Copies the given expected builder data into the builderlegacy()Set the legacy mode of the analysisuseAllocationModel(String relativeAllocationModelPath) Uses a new path for an allocation modeluseNodeCharacteristicsModel(String relativeNodeCharacteristicsModelPath) Uses a new path for node characteristicsusePluginActivator(Class<? extends Plugin> pluginActivator) Uses a plugin activator class for the given projectuseResource(Resource resource) Uses the given resource to load the model contentsuseResources(List<Resource> resources) Uses the given resources to load the model contentsuseUsageModel(String relativeUsageModelPath) Uses a new path for a usage modelvoidCheck the builder data that is saved in the builderMethods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.builder.AbstractDataFlowAnalysisBuilder
getBuilderData, useBuilder
-
Constructor Details
-
PCMDataFlowConfidentialityAnalysisBuilder
public PCMDataFlowConfidentialityAnalysisBuilder()
-
-
Method Details
-
legacy
Set the legacy mode of the analysis- Returns:
- Returns builder object of the analysis
-
usePluginActivator
public PCMDataFlowConfidentialityAnalysisBuilder usePluginActivator(Class<? extends Plugin> pluginActivator) Uses a plugin activator class for the given project- Parameters:
pluginActivator- Plugin activator class of the modeling project- Returns:
- Returns builder object of the analysis
-
useUsageModel
Uses a new path for a usage model- Parameters:
relativeUsageModelPath- Relative path to the usage model- Returns:
- Returns builder object of the analysis
-
useAllocationModel
public PCMDataFlowConfidentialityAnalysisBuilder useAllocationModel(String relativeAllocationModelPath) Uses a new path for an allocation model- Parameters:
relativeAllocationModelPath- Relative path to the allocation model- Returns:
- Returns builder object of the analysis
-
useNodeCharacteristicsModel
public PCMDataFlowConfidentialityAnalysisBuilder useNodeCharacteristicsModel(String relativeNodeCharacteristicsModelPath) Uses a new path for node characteristics- Parameters:
relativeNodeCharacteristicsModelPath- Relative path to the node characteristics model- Returns:
- Returns builder object of the analysis
-
useResource
Uses the given resource to load the model contents- Parameters:
resource- Resource containing model contents- Returns:
- Returns builder object of the analysis
-
useResources
Uses the given resources to load the model contents- Parameters:
resources- Resources containing model contents- Returns:
- Returns builder object of the analysis
-
copyBuilderData
Description copied from class:AbstractDataFlowAnalysisBuilderCopies the given expected builder data into the builder- Specified by:
copyBuilderDatain classAbstractDataFlowAnalysisBuilder<AbstractStandalonePCMDataFlowConfidentialityAnalysis,PCMAnalysisBuilderData, AnalysisBuilderData> - Parameters:
builderData- Expected builder data
-
validateBuilderData
public void validateBuilderData()Description copied from class:AbstractDataFlowAnalysisBuilderCheck the builder data that is saved in the builderChecking the builder data is left to the implementation. It may call
checkBuilderData()of previous builders -
build
Description copied from class:AbstractDataFlowAnalysisBuilderBuilds the analysis with the given builder data- Specified by:
buildin classAbstractDataFlowAnalysisBuilder<AbstractStandalonePCMDataFlowConfidentialityAnalysis,PCMAnalysisBuilderData, AnalysisBuilderData> - Returns:
- Returns new analysis with the given data
-