Package sonia.scm.plugin
Class InstalledPluginDescriptor
java.lang.Object
sonia.scm.plugin.ScmModule
sonia.scm.plugin.InstalledPluginDescriptor
- All Implemented Interfaces:
PluginDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionInstalledPluginDescriptor
(int scmVersion, PluginInformation information, PluginResources resources, PluginCondition condition, boolean childFirstClassLoader, Set<String> dependencies, Set<String> optionalDependencies) Deprecated.this constructor uses dependencies with plain strings, which is deprecated because the version information is missing. -
Method Summary
Methods inherited from class sonia.scm.plugin.ScmModule
getCliCommands, getConfigElements, getEvents, getExtensionPoints, getExtensions, getIndexedTypes, getMappers, getRestProviders, getRestResources, getSubscribers, getWebElements
-
Constructor Details
-
InstalledPluginDescriptor
@Deprecated public InstalledPluginDescriptor(int scmVersion, PluginInformation information, PluginResources resources, PluginCondition condition, boolean childFirstClassLoader, Set<String> dependencies, Set<String> optionalDependencies) Deprecated.this constructor uses dependencies with plain strings, which is deprecated because the version information is missing. This class should not instantiated manually, it is designed to be loaded by jaxb.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getCondition
- Specified by:
getCondition
in interfacePluginDescriptor
-
getDependencies
- Specified by:
getDependencies
in interfacePluginDescriptor
- Since:
- 2.0.0
-
getDependenciesWithVersion
Returns name and versions of the plugins which are this plugin depends on.- Since:
- 2.4.0
-
getOptionalDependencies
- Specified by:
getOptionalDependencies
in interfacePluginDescriptor
- Since:
- 2.0.0
-
getOptionalDependenciesWithVersion
Returns name and versions of the plugins which are this plugin optional depends on.- Since:
- 2.4.0
-
getDependenciesInclusiveOptionals
-
getInformation
- Specified by:
getInformation
in interfacePluginDescriptor
-
getResources
-
getScmVersion
public int getScmVersion() -
isChildFirstClassLoader
public boolean isChildFirstClassLoader()
-