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
public abstract class BasicComponentBuilder extends AbstractComponentBuilder
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
Fields Modifier and Type Field Description protected org.palladiosimulator.pcm.resourceenvironment.ResourceContainer
container
protected DelegatorComponentSeffBuilder
seffBuilder
-
Fields inherited from class de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
myAssemblyContext, myComponent, myModels, myOperationProvidedRole, myOperationRequiredRole
-
-
Constructor Summary
Constructors Constructor Description BasicComponentBuilder(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
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
build()
Called to perform this builders actionsprotected org.palladiosimulator.pcm.allocation.AllocationContext
createAllocationContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assembly)
protected org.palladiosimulator.pcm.repository.RepositoryComponent
createComponent(String componentName)
protected org.palladiosimulator.pcm.repository.BasicComponent
getBasicComponent()
protected abstract ISeffBuilder
getSeffBuilder()
-
Methods inherited from class de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
addOperationProvidedRole, addOperationRequiredRole, findResourceType, getAssemblyContext, getComponent, getNextCounter, getOperationProvidedRole, getOperationRequiredRole
-
-
-
-
Field Detail
-
seffBuilder
protected DelegatorComponentSeffBuilder seffBuilder
-
container
protected org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container
-
-
Constructor Detail
-
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 Detail
-
getSeffBuilder
protected abstract ISeffBuilder getSeffBuilder()
-
build
public void build()
Description copied from interface:IBuilder
Called to perform this builders actions- Specified by:
build
in interfaceIBuilder
- Overrides:
build
in 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:
createComponent
in classAbstractComponentBuilder
-
-