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 PluginClassLoadingInfo
getClassloadingInfo()
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()
String
getPluginName()
File
getPluginRoot()
Returns plugin base folderAgentExtensionType
getPluginType()
String
getPluginVersion()
AgentPluginXml
getPluginXml()
SpringPluginInfo
getSpringPluginInfo()
String
getUUID()
boolean
isRuntimeReloadAllowed()
-
-
-
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:PluginInfo
Returns plugin base folder- Specified by:
getPluginRoot
in interfacePluginDescriptor
- Specified by:
getPluginRoot
in interfacePluginInfo
- Returns:
- plugin base folder
-
getPluginName
@NotNull public String getPluginName()
- Specified by:
getPluginName
in interfacePluginInfo
- Specified by:
getPluginName
in interfaceSpringPluginInfo
-
getPluginXml
@NotNull public AgentPluginXml getPluginXml()
- Specified by:
getPluginXml
in interfaceAgentPluginInfo
-
getClassloadingInfo
@Nullable public PluginClassLoadingInfo getClassloadingInfo()
- Specified by:
getClassloadingInfo
in interfacePluginInfo
-
getDependencies
@NotNull public List<PluginDependencyInfo> getDependencies()
Description copied from interface:PluginInfo
Returns plugin direct dependencies information. NOTE: Transitive dependencies not supported.- Specified by:
getDependencies
in interfacePluginInfo
- Returns:
- see above
-
isRuntimeReloadAllowed
public boolean isRuntimeReloadAllowed()
- Specified by:
isRuntimeReloadAllowed
in interfacePluginInfo
- Returns:
- true if this plugin could be unloaded in runtime.
-
getUUID
@NotNull public String getUUID()
- Specified by:
getUUID
in interfacePluginInfo
- Returns:
- UUID of parsed plugin. Is changed after each restart.
-
getPluginType
@NotNull public AgentExtensionType getPluginType()
- Specified by:
getPluginType
in interfaceAgentPluginInfo
-
getPluginVersion
public String getPluginVersion()
- Specified by:
getPluginVersion
in interfacePluginInfo
-
getSpringPluginInfo
public SpringPluginInfo getSpringPluginInfo()
- Specified by:
getSpringPluginInfo
in interfacePluginInfo
- Returns:
- spring context creation info
-
getExplicitSpringConfigs
@NotNull public Collection<String> getExplicitSpringConfigs()
Description copied from interface:SpringPluginInfo
Those parameters will be put to Spring context as-is- Specified by:
getExplicitSpringConfigs
in interfaceSpringPluginInfo
- Returns:
- Spring context config files wildcard
-
getPluginJarFiles
@NotNull public Collection<File> getPluginJarFiles()
- Specified by:
getPluginJarFiles
in interfaceSpringPluginInfo
-
getConfigWildcards
@NotNull public Collection<String> getConfigWildcards()
Description copied from interface:SpringPluginInfo
All resources matching the given wildcards will be copied to temp folder in order to setup context- Specified by:
getConfigWildcards
in interfaceSpringPluginInfo
- Returns:
- list of Ant wildcards
-
-