Package jetbrains.buildServer.plugins
Class PluginData
- java.lang.Object
-
- jetbrains.buildServer.plugins.PluginData
-
public class PluginData extends Object
- Author:
- Eugene Petrenko Created: 17.02.2009 19:25:46
-
-
Constructor Summary
Constructors Constructor Description PluginData(PluginInfo pluginInfo)PluginData(PluginInfo pluginInfo, boolean allowUnloadWithoutRestart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLoadError(Throwable throwable)TeamCityClassLoadergetClassloader()Collection<Throwable>getLoadErrors()Collection<PluginData>getParents()Returns collection of non-transitive dependencies for this plugin.PluginInfogetPluginInfo()StringgetPluginName()org.springframework.context.ConfigurableApplicationContextgetSpringContext()booleanhasClassloader()booleanisAllowUnloadWithoutRestart()booleanisShouldAddPersonalDispatcher()voidremoveSpringContext()voidsetClassloader(TeamCityClassLoader classloader)voidsetParents(Collection<PluginData> parents)voidsetShouldAddPersonalDispatcher(boolean shouldAddPersonalDispatcher)voidsetSpringContext(org.springframework.context.ConfigurableApplicationContext springContext)
-
-
-
Constructor Detail
-
PluginData
public PluginData(@NotNull PluginInfo pluginInfo)
-
PluginData
public PluginData(@NotNull PluginInfo pluginInfo, boolean allowUnloadWithoutRestart)
-
-
Method Detail
-
getClassloader
public TeamCityClassLoader getClassloader()
-
setClassloader
public void setClassloader(TeamCityClassLoader classloader)
-
getPluginInfo
@NotNull public PluginInfo getPluginInfo()
-
hasClassloader
public boolean hasClassloader()
-
getParents
@NotNull public Collection<PluginData> getParents()
Returns collection of non-transitive dependencies for this plugin. May be empty. NOTE: Transitive dependencies not supported.- Since:
- 9.0
-
setParents
public void setParents(@NotNull Collection<PluginData> parents)
-
getSpringContext
@Nullable public org.springframework.context.ConfigurableApplicationContext getSpringContext()
-
setSpringContext
public void setSpringContext(@NotNull org.springframework.context.ConfigurableApplicationContext springContext)
-
removeSpringContext
public void removeSpringContext()
-
getPluginName
@NotNull public String getPluginName()
-
isAllowUnloadWithoutRestart
public boolean isAllowUnloadWithoutRestart()
-
isShouldAddPersonalDispatcher
public boolean isShouldAddPersonalDispatcher()
-
setShouldAddPersonalDispatcher
public void setShouldAddPersonalDispatcher(boolean shouldAddPersonalDispatcher)
-
addLoadError
public void addLoadError(@NotNull Throwable throwable)
-
getLoadErrors
@NotNull public Collection<Throwable> getLoadErrors()
-
-