|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.collection.DependencyManagement
public class DependencyManagement
The management updates to apply to a dependency.
DependencyManager.manageDependency(Dependency)
Constructor Summary | |
---|---|
DependencyManagement()
Creates an empty management update. |
Method Summary | |
---|---|
java.util.Collection<Exclusion> |
getExclusions()
Gets the new exclusions to apply to the dependency. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Gets the new properties to apply to the dependency. |
java.lang.String |
getScope()
Gets the new scope to apply to the dependency. |
java.lang.String |
getVersion()
Gets the new version to apply to the dependency. |
DependencyManagement |
setExclusions(java.util.Collection<Exclusion> exclusions)
Sets the new exclusions to apply to the dependency. |
DependencyManagement |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the new properties to apply to the dependency. |
DependencyManagement |
setScope(java.lang.String scope)
Sets the new scope to apply to the dependency. |
DependencyManagement |
setVersion(java.lang.String version)
Sets the new version to apply to the dependency. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyManagement()
Method Detail |
---|
public java.lang.String getVersion()
null
if the version is not managed and the existing dependency version should
remain unchanged.public DependencyManagement setVersion(java.lang.String version)
version
- The new version, may be null
if the version is not managed.
null
.public java.lang.String getScope()
null
if the scope is not managed and the existing dependency scope should remain
unchanged.public DependencyManagement setScope(java.lang.String scope)
scope
- The new scope, may be null
if the scope is not managed.
null
.public java.util.Collection<Exclusion> getExclusions()
null
if the exclusions are not managed and the existing dependency
exclusions should remain unchanged.public DependencyManagement setExclusions(java.util.Collection<Exclusion> exclusions)
exclusions
- The new exclusions, may be null
if the exclusions are not managed.
null
.public java.util.Map<java.lang.String,java.lang.String> getProperties()
null
if the properties are not managed and the existing properties
should remain unchanged.public DependencyManagement setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- The new artifact properties, may be null
if the properties are not managed.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |