public class PlatformPlugin extends Object implements org.pentaho.platform.api.engine.IPlatformPlugin, org.pentaho.platform.api.engine.IPentahoInitializer, org.pentaho.platform.api.engine.IPlatformPluginCsrfProtection
IPlatformPlugin
Constructor and Description |
---|
PlatformPlugin() |
PlatformPlugin(org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addBean(org.pentaho.platform.api.engine.PluginBeanDefinition beanDefinition) |
void |
addContentGenerator(org.pentaho.platform.api.engine.IContentGeneratorInfo contentGenerator)
Adds a content generator to this plug-in
|
void |
addContentInfo(org.pentaho.platform.api.engine.IContentInfo contentInfo)
Adds a content info type to this plug-in
|
void |
addExternalResource(String context,
String resource) |
void |
addInitializer(org.pentaho.platform.api.engine.IPentahoInitializer initializer)
Adds an initializer to this plug-in
|
void |
addLifecycleListener(org.pentaho.platform.api.engine.IPluginLifecycleListener listener) |
void |
addOverlay(org.pentaho.ui.xul.XulOverlay overlay)
Adds an overlay to this plug-in
|
void |
addPluginPerspective(org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective perspective) |
void |
addStaticResourcePath(String url,
String localFolder) |
void |
addWebservice(org.pentaho.platform.api.engine.PluginServiceDefinition serviceDefinition) |
org.springframework.beans.factory.support.DefaultListableBeanFactory |
getBeanFactory() |
Collection<org.pentaho.platform.api.engine.PluginBeanDefinition> |
getBeans() |
List<org.pentaho.platform.api.engine.IContentGeneratorInfo> |
getContentGenerators() |
List<org.pentaho.platform.api.engine.IContentInfo> |
getContentInfos() |
org.pentaho.platform.api.engine.CsrfProtectionDefinition |
getCsrfProtection() |
List<String> |
getExternalResourcesForContext(String context) |
String |
getId() |
String |
getLifecycleListenerClassname() |
org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType |
getLoaderType() |
Map<String,String> |
getMetaProviderMap() |
List<org.pentaho.ui.xul.XulOverlay> |
getOverlays() |
List<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> |
getPluginPerspectives() |
Collection<org.pentaho.platform.api.engine.PluginServiceDefinition> |
getServices() |
String |
getSourceDescription() |
Map<String,String> |
getStaticResourceMap() |
void |
init() |
void |
init(org.pentaho.platform.api.engine.IPentahoSession session) |
void |
loaded() |
void |
setCsrfProtection(org.pentaho.platform.api.engine.CsrfProtectionDefinition csrfProtectionDefinition) |
void |
setId(String id)
Sets the unique id for this plug-in
|
void |
setLifecycleListenerClassname(String lifecycleListenerClassname) |
void |
setLoadertype(org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType loaderType) |
void |
setSourceDescription(String sourceDescription) |
void |
unLoaded() |
public PlatformPlugin()
public PlatformPlugin(org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory)
public void init(org.pentaho.platform.api.engine.IPentahoSession session)
init
in interface org.pentaho.platform.api.engine.IPentahoInitializer
public String getLifecycleListenerClassname()
getLifecycleListenerClassname
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public void setLifecycleListenerClassname(String lifecycleListenerClassname)
public List<org.pentaho.platform.api.engine.IContentGeneratorInfo> getContentGenerators()
getContentGenerators
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public List<org.pentaho.platform.api.engine.IContentInfo> getContentInfos()
getContentInfos
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public String getId()
getId
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public List<org.pentaho.ui.xul.XulOverlay> getOverlays()
getOverlays
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public List<org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective> getPluginPerspectives()
getPluginPerspectives
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public void setId(String id)
id
- public void addInitializer(org.pentaho.platform.api.engine.IPentahoInitializer initializer)
initializer
- public void addContentGenerator(org.pentaho.platform.api.engine.IContentGeneratorInfo contentGenerator)
contentGenerator
- public void addContentInfo(org.pentaho.platform.api.engine.IContentInfo contentInfo)
contentInfo
- public void addOverlay(org.pentaho.ui.xul.XulOverlay overlay)
overlay
- public String getSourceDescription()
getSourceDescription
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public void setSourceDescription(String sourceDescription)
public Map<String,String> getStaticResourceMap()
getStaticResourceMap
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public Collection<org.pentaho.platform.api.engine.PluginBeanDefinition> getBeans()
getBeans
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public org.springframework.beans.factory.support.DefaultListableBeanFactory getBeanFactory()
getBeanFactory
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public Collection<org.pentaho.platform.api.engine.PluginServiceDefinition> getServices()
getServices
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public void addBean(org.pentaho.platform.api.engine.PluginBeanDefinition beanDefinition)
public void addWebservice(org.pentaho.platform.api.engine.PluginServiceDefinition serviceDefinition)
public void init() throws org.pentaho.platform.api.engine.PluginLifecycleException
init
in interface org.pentaho.platform.api.engine.IPlatformPlugin
init
in interface org.pentaho.platform.api.engine.IPluginLifecycleListener
org.pentaho.platform.api.engine.PluginLifecycleException
public void loaded() throws org.pentaho.platform.api.engine.PluginLifecycleException
loaded
in interface org.pentaho.platform.api.engine.IPlatformPlugin
loaded
in interface org.pentaho.platform.api.engine.IPluginLifecycleListener
org.pentaho.platform.api.engine.PluginLifecycleException
public void unLoaded() throws org.pentaho.platform.api.engine.PluginLifecycleException
unLoaded
in interface org.pentaho.platform.api.engine.IPlatformPlugin
unLoaded
in interface org.pentaho.platform.api.engine.IPluginLifecycleListener
org.pentaho.platform.api.engine.PluginLifecycleException
public void addLifecycleListener(org.pentaho.platform.api.engine.IPluginLifecycleListener listener)
addLifecycleListener
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public Map<String,String> getMetaProviderMap()
getMetaProviderMap
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType getLoaderType()
getLoaderType
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public void setLoadertype(org.pentaho.platform.api.engine.IPlatformPlugin.ClassLoaderType loaderType)
public List<String> getExternalResourcesForContext(String context)
getExternalResourcesForContext
in interface org.pentaho.platform.api.engine.IPlatformPlugin
public void addPluginPerspective(org.pentaho.platform.api.engine.perspective.pojo.IPluginPerspective perspective)
public org.pentaho.platform.api.engine.CsrfProtectionDefinition getCsrfProtection()
getCsrfProtection
in interface org.pentaho.platform.api.engine.IPlatformPluginCsrfProtection
public void setCsrfProtection(org.pentaho.platform.api.engine.CsrfProtectionDefinition csrfProtectionDefinition)
Copyright © 2021 Hitachi Vantara. All rights reserved.