All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alexecollins.docker.orchestration.plugin.api.Plugin Maven / Gradle / Ivy

There is a newer version: 2.11.29
Show newest version
package com.alexecollins.docker.orchestration.plugin.api;

import com.alexecollins.docker.orchestration.model.Conf;
import com.alexecollins.docker.orchestration.model.Id;

public interface Plugin {
    /**
     * Called when a container is started.
     *
     * @param id   The id of the container, not null.
     * @param conf The conf of the container, not null.
     */
    void started(Id id, Conf conf);

    /**
     * Called when a container is stopped.
     *
     * @param id   The id of the container, not null.
     * @param conf The conf of the container, not null.
     */
    void stopped(Id id, Conf conf);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy