public class DockerSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
DockerPackage
Modifier and Type | Field and Description |
---|---|
protected static DockerPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
DockerSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseContainerCpuStats(ContainerCpuStats object)
Returns the result of interpreting the object as an instance of 'Container Cpu Stats'.
|
T |
caseContainerCpuUsage(ContainerCpuUsage object)
Returns the result of interpreting the object as an instance of 'Container Cpu Usage'.
|
T |
caseContainerMemoryStats(ContainerMemoryStats object)
Returns the result of interpreting the object as an instance of 'Container Memory Stats'.
|
T |
caseContainerMemoryUsage(ContainerMemoryUsage object)
Returns the result of interpreting the object as an instance of 'Container Memory Usage'.
|
T |
caseContainerNetworkStats(ContainerNetworkStats object)
Returns the result of interpreting the object as an instance of 'Container Network Stats'.
|
T |
caseContainerOptions(ContainerOptions object)
Returns the result of interpreting the object as an instance of 'Container Options'.
|
T |
caseContainerPortBindings(ContainerPortBindings object)
Returns the result of interpreting the object as an instance of 'Container Port Bindings'.
|
T |
caseContainerRestartPolicy(ContainerRestartPolicy object)
Returns the result of interpreting the object as an instance of 'Container Restart Policy'.
|
T |
caseDockerActor(DockerActor object)
Returns the result of interpreting the object as an instance of 'Actor'.
|
T |
caseDockerActorAttributes(DockerActorAttributes object)
Returns the result of interpreting the object as an instance of 'Actor Attributes'.
|
T |
caseDockerAdaptor(DockerAdaptor object)
Returns the result of interpreting the object as an instance of 'Adaptor'.
|
T |
caseDockerContainer(DockerContainer object)
Returns the result of interpreting the object as an instance of 'Container'.
|
T |
caseDockerContainerStats(DockerContainerStats object)
Returns the result of interpreting the object as an instance of 'Container Stats'.
|
T |
caseDockerCreateRequest(DockerCreateRequest object)
Returns the result of interpreting the object as an instance of 'Create Request'.
|
T |
caseDockerEvents(DockerEvents object)
Returns the result of interpreting the object as an instance of 'Events'.
|
T |
caseDockerHost(DockerHost object)
Returns the result of interpreting the object as an instance of 'Host'.
|
T |
caseDockerImage(DockerImage object)
Returns the result of interpreting the object as an instance of 'Image'.
|
T |
caseDockerIpam(DockerIpam object)
Returns the result of interpreting the object as an instance of 'Ipam'.
|
T |
caseDockerIpamConfig(DockerIpamConfig object)
Returns the result of interpreting the object as an instance of 'Ipam Config'.
|
T |
caseDockerKeyPair(DockerKeyPair object)
Returns the result of interpreting the object as an instance of 'Key Pair'.
|
T |
caseDockerMount(DockerMount object)
Returns the result of interpreting the object as an instance of 'Mount'.
|
T |
caseDockerNetwork(DockerNetwork object)
Returns the result of interpreting the object as an instance of 'Network'.
|
T |
caseDockerNetworkContainer(DockerNetworkContainer object)
Returns the result of interpreting the object as an instance of 'Network Container'.
|
T |
caseDockerPort(DockerPort object)
Returns the result of interpreting the object as an instance of 'Port'.
|
T |
caseDockerProcess(DockerProcess object)
Returns the result of interpreting the object as an instance of 'Process'.
|
T |
caseNamedEntity(org.openecomp.ncomp.core.NamedEntity object)
Returns the result of interpreting the object as an instance of 'Named Entity'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static DockerPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
ePackage
- the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseDockerAdaptor(DockerAdaptor object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerHost(DockerHost object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerImage(DockerImage object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerContainer(DockerContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerPort(DockerPort object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerKeyPair(DockerKeyPair object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerMount(DockerMount object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerOptions(ContainerOptions object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerRestartPolicy(ContainerRestartPolicy object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerPortBindings(ContainerPortBindings object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerNetwork(DockerNetwork object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerIpam(DockerIpam object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerIpamConfig(DockerIpamConfig object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerNetworkContainer(DockerNetworkContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerEvents(DockerEvents object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerActor(DockerActor object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerActorAttributes(DockerActorAttributes object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerCreateRequest(DockerCreateRequest object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerProcess(DockerProcess object)
object
- the target of the switch.doSwitch(EObject)
public T caseDockerContainerStats(DockerContainerStats object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerNetworkStats(ContainerNetworkStats object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerMemoryStats(ContainerMemoryStats object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerMemoryUsage(ContainerMemoryUsage object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerCpuUsage(ContainerCpuUsage object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainerCpuStats(ContainerCpuStats object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedEntity(org.openecomp.ncomp.core.NamedEntity object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)
Copyright © 2017. All rights reserved.