diff options
author | Xavier Coulon | 2015-12-01 13:52:27 +0000 |
---|---|---|
committer | Jeff Johnston | 2015-12-03 00:46:00 +0000 |
commit | 7726582fa9334be4113f4f31f78986150672d114 (patch) | |
tree | 0b5e347755fb4deeef874e61233b7c21971b4917 /containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java | |
parent | d7cedd4b8a0f3a894ebcdb8ef07dc3138e922ece (diff) | |
download | org.eclipse.linuxtools-7726582fa9334be4113f4f31f78986150672d114.tar.gz org.eclipse.linuxtools-7726582fa9334be4113f4f31f78986150672d114.tar.xz org.eclipse.linuxtools-7726582fa9334be4113f4f31f78986150672d114.zip |
Remove previously added methods in public API
Method implementations are kept but not exposed in the API
which is a violation of the minor release contract.
These methods will be added back in the API in the next major
release.
Change-Id: Icd0692bfc89ce48c515efacc75249c73b79d4274
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Reviewed-on: https://git.eclipse.org/r/61650
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit d23cf77228fd43b41f912c766b31623565ecd06c)
Reviewed-on: https://git.eclipse.org/r/61836
Diffstat (limited to 'containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java')
-rw-r--r-- | containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java index 5f3728e6dd..48f2397b39 100644 --- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java +++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerContainer.java @@ -123,7 +123,15 @@ public class DockerContainer implements IDockerContainer { return info(false); } - @Override + /** + * @param force + * <code>true</code> to force refresh, <code>false</code> to use + * existing {@link IDockerContainerInfo} if it was loaded before. + * @return the {@link IDockerContainerInfo} by calling the Docker daemon + * using the {@link IDockerConnection} associated with this + * {@link IDockerContainer}. + */ + // TODO: add this method in the public interface public IDockerContainerInfo info(final boolean force) { if (force || isInfoLoaded()) { this.containerInfo = this.parent.getContainerInfo(id); @@ -131,7 +139,11 @@ public class DockerContainer implements IDockerContainer { return this.containerInfo; } - @Override + /** + * @return <code>true</code> if the {@link IDockerContainerInfo} has been + * loaded, <code>false</code> otherwise. + */ + // TODO: add this method in the public interface public boolean isInfoLoaded() { return this.containerInfo != null; } |