Package org.gcube.smartgears.handlers
Class OfflineProfilePublisher
- java.lang.Object
-
- org.gcube.smartgears.handlers.OfflineProfilePublisher
-
- All Implemented Interfaces:
ProfilePublisher
public class OfflineProfilePublisher extends Object implements ProfilePublisher
-
-
Constructor Summary
Constructors Constructor Description OfflineProfilePublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTo(Collection<String> tokens)Adds for the first time the current resource profile of the application in one or more scopes.voidaddToAll()voidremoveFrom(Collection<String> tokens)Removes the application from one or more scopes.voidupdate()
-
-
-
Method Detail
-
addTo
public void addTo(Collection<String> tokens)
Description copied from interface:ProfilePublisherAdds for the first time the current resource profile of the application in one or more scopes.- Specified by:
addToin interfaceProfilePublisher
-
addToAll
public void addToAll()
- Specified by:
addToAllin interfaceProfilePublisher
-
update
public void update()
- Specified by:
updatein interfaceProfilePublisher
-
removeFrom
public void removeFrom(Collection<String> tokens)
Description copied from interface:ProfilePublisherRemoves the application from one or more scopes.- Specified by:
removeFromin interfaceProfilePublisher
-
-