com.atlassian.confluence.plugins.edgeindex.plugin
Class PluggableEdgeTypeRepository

java.lang.Object
  extended by com.atlassian.confluence.plugins.edgeindex.plugin.PluggableEdgeTypeRepository
All Implemented Interfaces:
EdgeTypeRepository, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class PluggableEdgeTypeRepository
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, EdgeTypeRepository


Constructor Summary
PluggableEdgeTypeRepository(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 com.atlassian.fugue.Option<EdgeType> getEdgeIndexTypeByKey(String key)
           
 Collection<EdgeType> getEdgeIndexTypes()
           
 void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
           
 void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
           
 void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluggableEdgeTypeRepository

public PluggableEdgeTypeRepository(com.atlassian.plugin.PluginAccessor pluginAccessor,
                                   com.atlassian.plugin.event.PluginEventManager pluginEventManager)
Method Detail

getEdgeIndexTypeByKey

public com.atlassian.fugue.Option<EdgeType> getEdgeIndexTypeByKey(String key)
Specified by:
getEdgeIndexTypeByKey in interface EdgeTypeRepository

getEdgeIndexTypes

public Collection<EdgeType> getEdgeIndexTypes()
Specified by:
getEdgeIndexTypes in interface EdgeTypeRepository

onPluginModuleEnabled

public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)

onPluginModuleDisabled

public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)

onPluginDisabled

public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.