/******************************************************************************* * Copyright (c) 2014 Red Hat. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red Hat - Initial Contribution *******************************************************************************/ package org.eclipse.linuxtools.docker.core; import java.util.List; public interface IDockerContainerListener { /** * Called when the list of {@link IDockerContainer} for the given * {@link IDockerConnection} changed (including when it was loaded for the * first time) * * @param connection * - the Docker connection * @param containers * the new list of containers */ void listChanged(IDockerConnection connection, List<IDockerContainer> containers); }