public class DefaultExtensionDependency extends AbstractExtensionDependency
ExtensionDependency
.exclusions, id, optional, properties, repositories, versionConstraint
Constructor and Description |
---|
DefaultExtensionDependency(ExtensionDependency dependency)
Create new instance by cloning the provided one.
|
DefaultExtensionDependency(ExtensionDependency dependency,
VersionConstraint versionConstraint)
Create new instance by cloning the provided one with different version constraint.
|
DefaultExtensionDependency(String id,
VersionConstraint versionConstraint) |
DefaultExtensionDependency(String id,
VersionConstraint versionConstraint,
boolean optional) |
DefaultExtensionDependency(String id,
VersionConstraint versionConstraint,
boolean optional,
Map<String,Object> properties) |
DefaultExtensionDependency(String id,
VersionConstraint versionConstraint,
Map<String,Object> properties) |
addExclusion, addRepository, equals, getExclusions, getId, getProperties, getProperty, getProperty, getRepositories, getVersionConstraint, hashCode, isCompatible, isCompatible, isOptional, putProperty, setExclusions, setId, setProperties, setRepositories, setVersionConstraint, toString
public DefaultExtensionDependency(String id, VersionConstraint versionConstraint)
id
- the id of the extension dependencyversionConstraint
- the version constraint of the extension dependencypublic DefaultExtensionDependency(String id, VersionConstraint versionConstraint, boolean optional)
id
- the id of the extension dependencyversionConstraint
- the version constraint of the extension dependencyoptional
- true if the dependency is optionalpublic DefaultExtensionDependency(String id, VersionConstraint versionConstraint, Map<String,Object> properties)
id
- the id of the extension dependencyversionConstraint
- the version constraint of the extension dependencyproperties
- the custom properties of the extension dependencypublic DefaultExtensionDependency(String id, VersionConstraint versionConstraint, boolean optional, Map<String,Object> properties)
id
- the id of the extension dependencyversionConstraint
- the version constraint of the extension dependencyoptional
- true if the dependency is optionalproperties
- the custom properties of the extension dependencypublic DefaultExtensionDependency(ExtensionDependency dependency)
dependency
- the extension dependency to copypublic DefaultExtensionDependency(ExtensionDependency dependency, VersionConstraint versionConstraint)
dependency
- the extension dependency to copyversionConstraint
- the version constraint to setCopyright © 2004–2021 XWiki. All rights reserved.