Package org.gcube.smartgears.publishing
Interface Publisher
public interface Publisher
-
Method Summary
Modifier and TypeMethodDescriptionbooleancreate(ApplicationContext application, Set<String> contexts) creates the application resource in the contextsbooleancreate(ContainerContext container, Set<String> contexts) creates the container resource in the contextbooleanremove(ApplicationContext application, Set<String> contexts) removes the application resource from the contextsbooleanremove(ContainerContext application, Set<String> contexts) removes the container resource from the contextsbooleanupdate(ApplicationContext application) updates the application resourcebooleanupdate(ContainerContext container) updates the container resource
-
Method Details
-
create
creates the container resource in the context- Parameters:
container-contexts- the new contexts where the resource must be created- Returns:
-
create
creates the application resource in the contexts- Parameters:
application-contexts- the new contexts where the resource must be created- Returns:
-
update
updates the application resource- Parameters:
application-- Returns:
-
update
updates the container resource- Parameters:
container-- Returns:
-
remove
removes the application resource from the contexts- Parameters:
application-contexts- the contexts from where the resource must be removed- Returns:
-
remove
removes the container resource from the contexts- Parameters:
application-contexts- the contexts from where the resource must be removed- Returns:
-