com.atlassian.gadgets.publisher.internal.impl
Class AggregatePluginGadgetSpecProviderPermissionImpl

java.lang.Object
  extended by com.atlassian.gadgets.publisher.internal.impl.AggregatePluginGadgetSpecProviderPermissionImpl
All Implemented Interfaces:
com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission

public class AggregatePluginGadgetSpecProviderPermissionImpl
extends Object
implements com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission

An implementation of the PluginGadgetSpecProviderPermission which aggregates all the imported services and consults them to determine the outcome of the vote while dealing with all the vagaries of dynamic services coming and going.


Constructor Summary
AggregatePluginGadgetSpecProviderPermissionImpl(Iterable<com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission> permissions)
           
 
Method Summary
 com.atlassian.gadgets.Vote voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec gadgetSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatePluginGadgetSpecProviderPermissionImpl

public AggregatePluginGadgetSpecProviderPermissionImpl(Iterable<com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission> permissions)
Method Detail

voteOn

public com.atlassian.gadgets.Vote voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec gadgetSpec)
Specified by:
voteOn in interface com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission


Copyright © 2013 Atlassian. All Rights Reserved.