com.atlassian.gadgets.refimpl
Class ApplicationGadgetSpecProviderImpl

java.lang.Object
  extended by com.atlassian.gadgets.refimpl.ApplicationGadgetSpecProviderImpl
All Implemented Interfaces:
GadgetSpecProvider

public class ApplicationGadgetSpecProviderImpl
extends Object
implements GadgetSpecProvider


Field Summary
static String PLUGIN_KEY
           
static String RESOURCE_NAME
           
 
Constructor Summary
ApplicationGadgetSpecProviderImpl(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
           
 
Method Summary
 boolean contains(URI gadgetSpecUri)
          Returns true if the URI is in the store, false otherwise.
 Iterable<URI> entries()
          Returns all the gadget URIs contained by this store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_KEY

public static final String PLUGIN_KEY
See Also:
Constant Field Values

RESOURCE_NAME

public static final String RESOURCE_NAME
See Also:
Constant Field Values
Constructor Detail

ApplicationGadgetSpecProviderImpl

public ApplicationGadgetSpecProviderImpl(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
Method Detail

entries

public Iterable<URI> entries()
Description copied from interface: GadgetSpecProvider
Returns all the gadget URIs contained by this store.

Specified by:
entries in interface GadgetSpecProvider
Returns:
all the gadget URIs contained by this store.

contains

public boolean contains(URI gadgetSpecUri)
Description copied from interface: GadgetSpecProvider
Returns true if the URI is in the store, false otherwise.

Specified by:
contains in interface GadgetSpecProvider
Parameters:
gadgetSpecUri - URI to check is in the store
Returns:
true if the URI is in the store, false otherwise


Copyright © 2010 Atlassian. All Rights Reserved.