Class BasicComponentBuilder
java.lang.Object
de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.BasicComponentBuilder
- All Implemented Interfaces:
IBuilder,IComponentBuilder
- Direct Known Subclasses:
BasicMiddlewareComponentBuilder,LocalCommunicationComponentBuilder,NetworkLoadingComponentBuilder
A builder for creating basic components and their assembly and allocation context. The component
has a single provided and required interface which can be optionally the same (usefull if used
with a delegating seff builder).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.palladiosimulator.pcm.resourceenvironment.ResourceContainerprotected DelegatorComponentSeffBuilderFields inherited from class de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
myAssemblyContext, myComponent, myModels, myOperationProvidedRole, myOperationRequiredRole -
Constructor Summary
ConstructorsConstructorDescriptionBasicComponentBuilder(PCMAndCompletionModelHolder models, org.palladiosimulator.pcm.repository.OperationInterface providedIf, org.palladiosimulator.pcm.repository.OperationInterface requiredIf, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, String componentName) BasicComponentBuilder(PCMAndCompletionModelHolder models, org.palladiosimulator.pcm.repository.OperationInterface interf, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, String componentName) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Called to perform this builders actionsprotected org.palladiosimulator.pcm.allocation.AllocationContextcreateAllocationContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assembly) protected org.palladiosimulator.pcm.repository.RepositoryComponentcreateComponent(String componentName) protected org.palladiosimulator.pcm.repository.BasicComponentprotected abstract ISeffBuilderMethods inherited from class de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
addOperationProvidedRole, addOperationRequiredRole, findResourceType, getAssemblyContext, getComponent, getNextCounter, getOperationProvidedRole, getOperationRequiredRole
-
Field Details
-
seffBuilder
-
container
protected org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container
-
-
Constructor Details
-
BasicComponentBuilder
public BasicComponentBuilder(PCMAndCompletionModelHolder models, org.palladiosimulator.pcm.repository.OperationInterface interf, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, String componentName) -
BasicComponentBuilder
public BasicComponentBuilder(PCMAndCompletionModelHolder models, org.palladiosimulator.pcm.repository.OperationInterface providedIf, org.palladiosimulator.pcm.repository.OperationInterface requiredIf, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, String componentName)
-
-
Method Details
-
getSeffBuilder
-
build
public void build()Description copied from interface:IBuilderCalled to perform this builders actions- Specified by:
buildin interfaceIBuilder- Overrides:
buildin classAbstractComponentBuilder
-
createAllocationContext
protected org.palladiosimulator.pcm.allocation.AllocationContext createAllocationContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assembly) -
getBasicComponent
protected org.palladiosimulator.pcm.repository.BasicComponent getBasicComponent() -
createComponent
protected org.palladiosimulator.pcm.repository.RepositoryComponent createComponent(String componentName) - Specified by:
createComponentin classAbstractComponentBuilder
-