Class AgentPluginInfoImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.plugins.beans.AgentPluginInfoImpl
-
- All Implemented Interfaces:
AgentPluginInfo,PluginDescriptor,PluginInfo,SpringPluginInfo
public class AgentPluginInfoImpl extends Object implements AgentPluginInfo, SpringPluginInfo
- Author:
- Eugene Petrenko Created: 10.02.2009 14:52:22
-
-
Constructor Summary
Constructors Constructor Description AgentPluginInfoImpl(String pluginName, File root, AgentPluginXml xml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginClassLoadingInfogetClassloadingInfo()Collection<String>getConfigWildcards()All resources matching the given wildcards will be copied to temp folder in order to setup contextList<PluginDependencyInfo>getDependencies()Returns plugin direct dependencies information.Collection<String>getExplicitSpringConfigs()Those parameters will be put to Spring context as-isCollection<File>getPluginJarFiles()StringgetPluginName()FilegetPluginRoot()Returns plugin base folderAgentExtensionTypegetPluginType()StringgetPluginVersion()AgentPluginXmlgetPluginXml()SpringPluginInfogetSpringPluginInfo()StringgetUUID()booleanisRuntimeReloadAllowed()
-
-
-
Constructor Detail
-
AgentPluginInfoImpl
public AgentPluginInfoImpl(@NotNull String pluginName, @NotNull File root, @NotNull AgentPluginXml xml)
-
-
Method Detail
-
getPluginRoot
@NotNull public File getPluginRoot()
Description copied from interface:PluginInfoReturns plugin base folder- Specified by:
getPluginRootin interfacePluginDescriptor- Specified by:
getPluginRootin interfacePluginInfo- Returns:
- plugin base folder
-
getPluginName
@NotNull public String getPluginName()
- Specified by:
getPluginNamein interfacePluginInfo- Specified by:
getPluginNamein interfaceSpringPluginInfo
-
getPluginXml
@NotNull public AgentPluginXml getPluginXml()
- Specified by:
getPluginXmlin interfaceAgentPluginInfo
-
getClassloadingInfo
@Nullable public PluginClassLoadingInfo getClassloadingInfo()
- Specified by:
getClassloadingInfoin interfacePluginInfo
-
getDependencies
@NotNull public List<PluginDependencyInfo> getDependencies()
Description copied from interface:PluginInfoReturns plugin direct dependencies information. NOTE: Transitive dependencies not supported.- Specified by:
getDependenciesin interfacePluginInfo- Returns:
- see above
-
isRuntimeReloadAllowed
public boolean isRuntimeReloadAllowed()
- Specified by:
isRuntimeReloadAllowedin interfacePluginInfo- Returns:
- true if this plugin could be unloaded in runtime.
-
getUUID
@NotNull public String getUUID()
- Specified by:
getUUIDin interfacePluginInfo- Returns:
- UUID of parsed plugin. Is changed after each restart.
-
getPluginType
@NotNull public AgentExtensionType getPluginType()
- Specified by:
getPluginTypein interfaceAgentPluginInfo
-
getPluginVersion
public String getPluginVersion()
- Specified by:
getPluginVersionin interfacePluginInfo
-
getSpringPluginInfo
public SpringPluginInfo getSpringPluginInfo()
- Specified by:
getSpringPluginInfoin interfacePluginInfo- Returns:
- spring context creation info
-
getExplicitSpringConfigs
@NotNull public Collection<String> getExplicitSpringConfigs()
Description copied from interface:SpringPluginInfoThose parameters will be put to Spring context as-is- Specified by:
getExplicitSpringConfigsin interfaceSpringPluginInfo- Returns:
- Spring context config files wildcard
-
getPluginJarFiles
@NotNull public Collection<File> getPluginJarFiles()
- Specified by:
getPluginJarFilesin interfaceSpringPluginInfo
-
getConfigWildcards
@NotNull public Collection<String> getConfigWildcards()
Description copied from interface:SpringPluginInfoAll resources matching the given wildcards will be copied to temp folder in order to setup context- Specified by:
getConfigWildcardsin interfaceSpringPluginInfo- Returns:
- list of Ant wildcards
-
-