public class DockerHostImpl extends org.openecomp.ncomp.core.impl.NamedEntityImpl implements DockerHost
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.common.util.EList<DockerContainer> |
containers
The cached value of the '
Containers ' containment reference list. |
protected org.eclipse.emf.common.util.EList<DockerImage> |
images
The cached value of the '
Images ' containment reference list. |
protected org.eclipse.emf.common.util.EList<DockerNetwork> |
networks
The cached value of the '
Networks ' containment reference list. |
protected static long |
POLLING_FREQUENCY_EDEFAULT
The default value of the '
Polling Frequency ' attribute. |
protected long |
pollingFrequency
The cached value of the '
Polling Frequency ' attribute. |
protected boolean |
remote
The cached value of the '
Remote ' attribute. |
protected static boolean |
REMOTE_EDEFAULT
The default value of the '
Remote ' attribute. |
protected String |
url
The cached value of the '
Url ' attribute. |
protected static String |
URL_EDEFAULT
The default value of the '
Url ' attribute. |
created, CREATED_EDEFAULT, LAST_CHANGED_EDEFAULT, LAST_POLLED_EDEFAULT, lastChanged, lastPolled, name, NAME_EDEFAULT
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
DockerHostImpl() |
Modifier and Type | Method and Description |
---|---|
void |
containerProcesses(String name) |
void |
containerStats(String name,
boolean stream) |
void |
dockerRun(String image) |
void |
dockerRunWithName(String image,
String name) |
void |
dockerRunWithOptions(String image,
ContainerOptions opts) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<DockerContainer> |
getContainers() |
org.eclipse.emf.common.util.EList<DockerImage> |
getImages() |
org.eclipse.emf.common.util.EList<DockerNetwork> |
getNetworks() |
long |
getPollingFrequency() |
String |
getUrl() |
void |
inspectContainer(String name) |
boolean |
isRemote() |
void |
killContainer(String name,
String sigint) |
void |
pauseContainer(String name) |
void |
poll() |
void |
removeContainer(String name,
boolean remove,
boolean force) |
void |
restartContainer(String name,
int seconds) |
void |
setPollingFrequency(long newPollingFrequency) |
void |
setRemote(boolean newRemote) |
void |
setUrl(String newUrl) |
void |
startContainer(String name) |
void |
stopContainer(String name,
int seconds) |
String |
toString() |
void |
unpauseContainer(String name) |
getCreated, getLastChanged, getLastPolled, getName, setCreated, setLastChanged, setLastPolled, setName
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCreated, getLastChanged, getLastPolled, getName, setCreated, setLastChanged, setLastPolled, setName
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final String URL_EDEFAULT
Url
' attribute.
getUrl()
protected static final long POLLING_FREQUENCY_EDEFAULT
Polling Frequency
' attribute.
getPollingFrequency()
,
Constant Field Valuesprotected long pollingFrequency
Polling Frequency
' attribute.
getPollingFrequency()
protected static final boolean REMOTE_EDEFAULT
Remote
' attribute.
isRemote()
,
Constant Field Valuesprotected boolean remote
Remote
' attribute.
isRemote()
protected org.eclipse.emf.common.util.EList<DockerImage> images
Images
' containment reference list.
getImages()
protected org.eclipse.emf.common.util.EList<DockerContainer> containers
Containers
' containment reference list.
getContainers()
protected org.eclipse.emf.common.util.EList<DockerNetwork> networks
Networks
' containment reference list.
getNetworks()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.openecomp.ncomp.core.impl.NamedEntityImpl
public String getUrl()
getUrl
in interface DockerHost
DockerHost.setUrl(String)
,
DockerPackage.getDockerHost_Url()
public void setUrl(String newUrl)
setUrl
in interface DockerHost
newUrl
- the new value of the 'Url' attribute.DockerHost.getUrl()
public long getPollingFrequency()
getPollingFrequency
in interface DockerHost
DockerHost.setPollingFrequency(long)
,
DockerPackage.getDockerHost_PollingFrequency()
public void setPollingFrequency(long newPollingFrequency)
setPollingFrequency
in interface DockerHost
newPollingFrequency
- the new value of the 'Polling Frequency' attribute.DockerHost.getPollingFrequency()
public boolean isRemote()
isRemote
in interface DockerHost
DockerHost.setRemote(boolean)
,
DockerPackage.getDockerHost_Remote()
public void setRemote(boolean newRemote)
setRemote
in interface DockerHost
newRemote
- the new value of the 'Remote' attribute.DockerHost.isRemote()
public org.eclipse.emf.common.util.EList<DockerImage> getImages()
getImages
in interface DockerHost
DockerPackage.getDockerHost_Images()
public org.eclipse.emf.common.util.EList<DockerContainer> getContainers()
getContainers
in interface DockerHost
DockerPackage.getDockerHost_Containers()
public org.eclipse.emf.common.util.EList<DockerNetwork> getNetworks()
getNetworks
in interface DockerHost
DockerPackage.getDockerHost_Networks()
public void poll()
poll
in interface DockerHost
public void startContainer(String name)
startContainer
in interface DockerHost
public void stopContainer(String name, int seconds)
stopContainer
in interface DockerHost
public void restartContainer(String name, int seconds)
restartContainer
in interface DockerHost
public void pauseContainer(String name)
pauseContainer
in interface DockerHost
public void unpauseContainer(String name)
unpauseContainer
in interface DockerHost
public void removeContainer(String name, boolean remove, boolean force)
removeContainer
in interface DockerHost
public void inspectContainer(String name)
inspectContainer
in interface DockerHost
public void killContainer(String name, String sigint)
killContainer
in interface DockerHost
public void dockerRun(String image)
dockerRun
in interface DockerHost
public void dockerRunWithName(String image, String name)
dockerRunWithName
in interface DockerHost
public void dockerRunWithOptions(String image, ContainerOptions opts)
dockerRunWithOptions
in interface DockerHost
public void containerStats(String name, boolean stream)
containerStats
in interface DockerHost
public void containerProcesses(String name)
containerProcesses
in interface DockerHost
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.openecomp.ncomp.core.impl.NamedEntityImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.openecomp.ncomp.core.impl.NamedEntityImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.openecomp.ncomp.core.impl.NamedEntityImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.openecomp.ncomp.core.impl.NamedEntityImpl
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
InvocationTargetException
public String toString()
toString
in class org.openecomp.ncomp.core.impl.NamedEntityImpl
Copyright © 2017. All rights reserved.