@Generated public class Dependency extends BaseObject
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
Dependency() |
Dependency(Dependency delegate) |
Dependency(Dependency delegate,
BaseObject parent) |
update
public Dependency()
public Dependency(Dependency delegate)
public Dependency(Dependency delegate, BaseObject parent)
public Dependency clone()
public Dependency getDelegate()
getDelegate
in class BaseObject
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public String getType()
public void setType(String type)
public String getClassifier()
public void setClassifier(String classifier)
public String getScope()
public void setScope(String scope)
public String getSystemPath()
public void setSystemPath(String systemPath)
public void addExclusion(Exclusion exclusion)
public void removeExclusion(Exclusion exclusion)
public String getOptional()
public void setOptional(String optional)
public InputLocation getLocation(Object key)
InputLocationTracker
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.protected boolean replace(Object oldDelegate, Object newDelegate)
replace
in class BaseObject
public static List<Dependency> dependencyToApiV4(List<Dependency> list)
public static List<Dependency> dependencyToApiV3(List<Dependency> list)
public boolean isOptional()
public void setOptional(boolean optional)
public String toString()
toString
in class Object
Object.toString()
public String getManagementKey()
groupId:artifactId:type
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.