2022-06-08 17:42:32 +02:00
|
|
|
package org.gcube.smartgears.publishing;
|
|
|
|
|
2022-06-10 17:08:44 +02:00
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
import org.gcube.smartgears.context.application.ApplicationContext;
|
|
|
|
import org.gcube.smartgears.context.container.ContainerContext;
|
2022-06-08 17:42:32 +02:00
|
|
|
|
|
|
|
public interface Publisher {
|
|
|
|
|
2022-06-10 17:08:44 +02:00
|
|
|
boolean publishContainer(ContainerContext container, Set<String> contexts);
|
2022-06-08 17:42:32 +02:00
|
|
|
|
2022-06-10 17:08:44 +02:00
|
|
|
boolean publishApplication(ApplicationContext application, Set<String> contexts);
|
2022-06-08 17:42:32 +02:00
|
|
|
|
2022-06-10 17:08:44 +02:00
|
|
|
boolean unpublishContainer(ContainerContext container, Set<String> contexts);
|
2022-06-08 17:42:32 +02:00
|
|
|
|
2022-06-10 17:08:44 +02:00
|
|
|
boolean unpublishApplication(ApplicationContext application, Set<String> contexts);
|
2022-06-08 17:42:32 +02:00
|
|
|
}
|