Class ComposeFileAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.palladiosimulator.somox.docker.compose.composeFile.util.ComposeFileAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
public class ComposeFileAdapterFactory extends AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXXmethod for each class of the model.- See Also:
ComposeFilePackage- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ComposeFilePackagemodelPackageThe cached model package.protected ComposeFileSwitch<Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods.
-
Constructor Summary
Constructors Constructor Description ComposeFileAdapterFactory()Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptercreateAdapter(Notifier target)Creates an adapter for thetarget.AdaptercreateBuildAdapter()Creates a new adapter for an object of class 'Build'.AdaptercreateBuildLongSyntaxAdapter()Creates a new adapter for an object of class 'Build Long Syntax'.AdaptercreateConfigAdapter()Creates a new adapter for an object of class 'Config'.AdaptercreateConfigsAdapter()Creates a new adapter for an object of class 'Configs'.AdaptercreateCredentialSpecAdapter()Creates a new adapter for an object of class 'Credential Spec'.AdaptercreateDeployAdapter()Creates a new adapter for an object of class 'Deploy'.AdaptercreateDeployConfigsAdapter()Creates a new adapter for an object of class 'Deploy Configs'.AdaptercreateDeployConfigsLongSyntaxAdapter()Creates a new adapter for an object of class 'Deploy Configs Long Syntax'.AdaptercreateDockerComposeAdapter()Creates a new adapter for an object of class 'Docker Compose'.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.AdaptercreateHealthcheckAdapter()Creates a new adapter for an object of class 'Healthcheck'.AdaptercreateIpamAdapter()Creates a new adapter for an object of class 'Ipam'.AdaptercreateListAdapter()Creates a new adapter for an object of class 'List'.AdaptercreateListOrMappingAdapter()Creates a new adapter for an object of class 'List Or Mapping'.AdaptercreateLoggingAdapter()Creates a new adapter for an object of class 'Logging'.AdaptercreateMappingAdapter()Creates a new adapter for an object of class 'Mapping'.AdaptercreateMappingWithoutPrefixAndColonAdapter()Creates a new adapter for an object of class 'Mapping Without Prefix And Colon'.AdaptercreateMappingWithoutPrefixAndEqualAdapter()Creates a new adapter for an object of class 'Mapping Without Prefix And Equal'.AdaptercreateMappingWithPrefixAndColonAdapter()Creates a new adapter for an object of class 'Mapping With Prefix And Colon'.AdaptercreateMappingWithPrefixAndEqualAdapter()Creates a new adapter for an object of class 'Mapping With Prefix And Equal'.AdaptercreateNetworksAdapter()Creates a new adapter for an object of class 'Networks'.AdaptercreatePlacementAdapter()Creates a new adapter for an object of class 'Placement'.AdaptercreatePortLongSyntaxAdapter()Creates a new adapter for an object of class 'Port Long Syntax'.AdaptercreatePortsAdapter()Creates a new adapter for an object of class 'Ports'.AdaptercreateRestartPolicyAdapter()Creates a new adapter for an object of class 'Restart Policy'.AdaptercreateSecretsAdapter()Creates a new adapter for an object of class 'Secrets'.AdaptercreateServiceAdapter()Creates a new adapter for an object of class 'Service'.AdaptercreateServiceSecretsAdapter()Creates a new adapter for an object of class 'Service Secrets'.AdaptercreateServiceSecretsLongSyntaxAdapter()Creates a new adapter for an object of class 'Service Secrets Long Syntax'.AdaptercreateServiceVolumeLongSyntaxAdapter()Creates a new adapter for an object of class 'Service Volume Long Syntax'.AdaptercreateServiceVolumesAdapter()Creates a new adapter for an object of class 'Service Volumes'.AdaptercreateUlimitsAdapter()Creates a new adapter for an object of class 'Ulimits'.AdaptercreateValueOrListAdapter()Creates a new adapter for an object of class 'Value Or List'.AdaptercreateVolumesAdapter()Creates a new adapter for an object of class 'Volumes'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
-
-
-
Field Detail
-
modelPackage
protected static ComposeFilePackage modelPackage
The cached model package.- Generated class or method.
-
modelSwitch
protected ComposeFileSwitch<Adapter> modelSwitch
The switch that delegates to thecreateXXXmethods.- Generated class or method.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. This implementation returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classAdapterFactoryImpl- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
createAdapter
public Adapter createAdapter(Notifier target)
Creates an adapter for thetarget.- Overrides:
createAdapterin classAdapterFactoryImpl- Parameters:
target- the object to adapt.- Returns:
- the adapter for the
target. - Generated class or method.
-
createDockerComposeAdapter
public Adapter createDockerComposeAdapter()
Creates a new adapter for an object of class 'Docker Compose'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
DockerCompose- Generated class or method.
-
createServiceAdapter
public Adapter createServiceAdapter()
Creates a new adapter for an object of class 'Service'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Service- Generated class or method.
-
createBuildAdapter
public Adapter createBuildAdapter()
Creates a new adapter for an object of class 'Build'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Build- Generated class or method.
-
createBuildLongSyntaxAdapter
public Adapter createBuildLongSyntaxAdapter()
Creates a new adapter for an object of class 'Build Long Syntax'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
BuildLongSyntax- Generated class or method.
-
createDeployConfigsAdapter
public Adapter createDeployConfigsAdapter()
Creates a new adapter for an object of class 'Deploy Configs'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
DeployConfigs- Generated class or method.
-
createDeployConfigsLongSyntaxAdapter
public Adapter createDeployConfigsLongSyntaxAdapter()
Creates a new adapter for an object of class 'Deploy Configs Long Syntax'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
DeployConfigsLongSyntax- Generated class or method.
-
createCredentialSpecAdapter
public Adapter createCredentialSpecAdapter()
Creates a new adapter for an object of class 'Credential Spec'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
CredentialSpec- Generated class or method.
-
createDeployAdapter
public Adapter createDeployAdapter()
Creates a new adapter for an object of class 'Deploy'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Deploy- Generated class or method.
-
createPlacementAdapter
public Adapter createPlacementAdapter()
Creates a new adapter for an object of class 'Placement'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Placement- Generated class or method.
-
createRestartPolicyAdapter
public Adapter createRestartPolicyAdapter()
Creates a new adapter for an object of class 'Restart Policy'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
RestartPolicy- Generated class or method.
-
createConfigAdapter
public Adapter createConfigAdapter()
Creates a new adapter for an object of class 'Config'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Config- Generated class or method.
-
createHealthcheckAdapter
public Adapter createHealthcheckAdapter()
Creates a new adapter for an object of class 'Healthcheck'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Healthcheck- Generated class or method.
-
createLoggingAdapter
public Adapter createLoggingAdapter()
Creates a new adapter for an object of class 'Logging'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Logging- Generated class or method.
-
createPortsAdapter
public Adapter createPortsAdapter()
Creates a new adapter for an object of class 'Ports'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Ports- Generated class or method.
-
createPortLongSyntaxAdapter
public Adapter createPortLongSyntaxAdapter()
Creates a new adapter for an object of class 'Port Long Syntax'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
PortLongSyntax- Generated class or method.
-
createServiceSecretsAdapter
public Adapter createServiceSecretsAdapter()
Creates a new adapter for an object of class 'Service Secrets'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ServiceSecrets- Generated class or method.
-
createServiceSecretsLongSyntaxAdapter
public Adapter createServiceSecretsLongSyntaxAdapter()
Creates a new adapter for an object of class 'Service Secrets Long Syntax'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ServiceSecretsLongSyntax- Generated class or method.
-
createUlimitsAdapter
public Adapter createUlimitsAdapter()
Creates a new adapter for an object of class 'Ulimits'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Ulimits- Generated class or method.
-
createServiceVolumesAdapter
public Adapter createServiceVolumesAdapter()
Creates a new adapter for an object of class 'Service Volumes'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ServiceVolumes- Generated class or method.
-
createServiceVolumeLongSyntaxAdapter
public Adapter createServiceVolumeLongSyntaxAdapter()
Creates a new adapter for an object of class 'Service Volume Long Syntax'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ServiceVolumeLongSyntax- Generated class or method.
-
createVolumesAdapter
public Adapter createVolumesAdapter()
Creates a new adapter for an object of class 'Volumes'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Volumes- Generated class or method.
-
createNetworksAdapter
public Adapter createNetworksAdapter()
Creates a new adapter for an object of class 'Networks'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Networks- Generated class or method.
-
createIpamAdapter
public Adapter createIpamAdapter()
Creates a new adapter for an object of class 'Ipam'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Ipam- Generated class or method.
-
createConfigsAdapter
public Adapter createConfigsAdapter()
Creates a new adapter for an object of class 'Configs'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Configs- Generated class or method.
-
createSecretsAdapter
public Adapter createSecretsAdapter()
Creates a new adapter for an object of class 'Secrets'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Secrets- Generated class or method.
-
createValueOrListAdapter
public Adapter createValueOrListAdapter()
Creates a new adapter for an object of class 'Value Or List'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ValueOrList- Generated class or method.
-
createListOrMappingAdapter
public Adapter createListOrMappingAdapter()
Creates a new adapter for an object of class 'List Or Mapping'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
ListOrMapping- Generated class or method.
-
createListAdapter
public Adapter createListAdapter()
Creates a new adapter for an object of class 'List'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
List- Generated class or method.
-
createMappingAdapter
public Adapter createMappingAdapter()
Creates a new adapter for an object of class 'Mapping'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
Mapping- Generated class or method.
-
createMappingWithPrefixAndColonAdapter
public Adapter createMappingWithPrefixAndColonAdapter()
Creates a new adapter for an object of class 'Mapping With Prefix And Colon'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MappingWithPrefixAndColon- Generated class or method.
-
createMappingWithoutPrefixAndColonAdapter
public Adapter createMappingWithoutPrefixAndColonAdapter()
Creates a new adapter for an object of class 'Mapping Without Prefix And Colon'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MappingWithoutPrefixAndColon- Generated class or method.
-
createMappingWithPrefixAndEqualAdapter
public Adapter createMappingWithPrefixAndEqualAdapter()
Creates a new adapter for an object of class 'Mapping With Prefix And Equal'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MappingWithPrefixAndEqual- Generated class or method.
-
createMappingWithoutPrefixAndEqualAdapter
public Adapter createMappingWithoutPrefixAndEqualAdapter()
Creates a new adapter for an object of class 'Mapping Without Prefix And Equal'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
MappingWithoutPrefixAndEqual- Generated class or method.
-
createEObjectAdapter
public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
- Generated class or method.
-
-