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

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

public class AggregatePluginGadgetSpecProviderPermissionImpl
extends Object
implements 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<PluginGadgetSpecProviderPermission> permissions)
           
 
Method Summary
 Vote voteOn(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<PluginGadgetSpecProviderPermission> permissions)
Method Detail

voteOn

public Vote voteOn(PluginGadgetSpec gadgetSpec)
Specified by:
voteOn in interface PluginGadgetSpecProviderPermission


Copyright © 2010 Atlassian. All Rights Reserved.