Package org.gcube.smartgears.publishing
Interface Publisher
-
public interface Publisher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancreate(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 Detail
-
create
boolean create(ContainerContext container, Set<String> contexts)
creates the container resource in the context- Parameters:
container-contexts- the new contexts where the resource must be created- Returns:
-
create
boolean create(ApplicationContext application, Set<String> contexts)
creates the application resource in the contexts- Parameters:
application-contexts- the new contexts where the resource must be created- Returns:
-
update
boolean update(ApplicationContext application)
updates the application resource- Parameters:
application-- Returns:
-
update
boolean update(ContainerContext container)
updates the container resource- Parameters:
container-- Returns:
-
remove
boolean remove(ApplicationContext application, Set<String> contexts)
removes the application resource from the contexts- Parameters:
application-contexts- the contexts from where the resource must be removed- Returns:
-
remove
boolean remove(ContainerContext application, Set<String> contexts)
removes the container resource from the contexts- Parameters:
application-contexts- the contexts from where the resource must be removed- Returns:
-
-