|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.publisher.internal.impl.AggregatePluginGadgetSpecProviderPermissionImpl
public class AggregatePluginGadgetSpecProviderPermissionImpl
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)
Returns the implementation's Vote on whether the specified gadget spec should be appear in the
gadget browser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AggregatePluginGadgetSpecProviderPermissionImpl(Iterable<PluginGadgetSpecProviderPermission> permissions)
| Method Detail |
|---|
public Vote voteOn(PluginGadgetSpec gadgetSpec)
PluginGadgetSpecProviderPermissionReturns the implementation's Vote on whether the specified gadget spec should be appear in the
gadget browser.
If DENY is returned, the gadget should not appear, no matter what any other implementations vote
may be.
If ALLOW is returned, the gadget should appear in the gadget browser unless another implementation
explicitly denies its appearance.
PASS will be returned if the implementation has no opinion on whether the gadget should show up in the
gadget browser.
voteOn in interface PluginGadgetSpecProviderPermissiongadgetSpec - the gadget spec found in a plugin that will be evaluated
Vote on whether to the gadget should appear in the gadget browser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||