com.atlassian.plugin.schema.descriptor
Interface DescribedModuleDescriptorFactory

All Superinterfaces:
ListableModuleDescriptorFactory, ModuleDescriptorFactory
All Known Implementing Classes:
DefaultDescribedModuleDescriptorFactory

public interface DescribedModuleDescriptorFactory
extends ListableModuleDescriptorFactory

A module factory that provides schemas for module types.

Since:
3.0.0

Method Summary
 Schema getSchema(String type)
          Gets the schema for the given module type.
 
Methods inherited from interface com.atlassian.plugin.osgi.external.ListableModuleDescriptorFactory
getModuleDescriptorClasses, getModuleDescriptorKeys
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptorFactory
getModuleDescriptor, getModuleDescriptorClass, hasModuleDescriptor
 

Method Detail

getSchema

@Nullable
Schema getSchema(String type)
Gets the schema for the given module type.

Parameters:
type - the module type for which we'd like to know the schema
Returns:
the schema for the given module type, null if it can't be found.


Copyright © 2014 Atlassian. All rights reserved.