public interface Dependency
extends org.eclipse.emf.ecore.EObject
The following features are supported:
PomPackage.getDependency()
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Returns the value of the 'Artifact Id' attribute.
|
String |
getClassifier()
Returns the value of the 'Classifier' attribute.
|
org.eclipse.emf.common.util.EList<Exclusion> |
getExclusions()
Returns the value of the 'Exclusions' containment reference list.
|
String |
getGroupId()
Returns the value of the 'Group Id' attribute.
|
String |
getOptional()
Returns the value of the 'Optional' attribute.
|
String |
getScope()
Returns the value of the 'Scope' attribute.
|
String |
getSystemPath()
Returns the value of the 'System Path' attribute.
|
String |
getType()
Returns the value of the 'Type' attribute.
|
String |
getVersion()
Returns the value of the 'Version' attribute.
|
boolean |
isSetExclusions()
Returns whether the value of the '
Exclusions ' containment reference list is set. |
boolean |
isSetOptional()
Returns whether the value of the '
Optional '
attribute is set. |
boolean |
isSetType()
Returns whether the value of the '
Type '
attribute is set. |
void |
setArtifactId(String value)
Sets the value of the '
Artifact Id '
attribute. |
void |
setClassifier(String value)
Sets the value of the '
Classifier '
attribute. |
void |
setGroupId(String value)
Sets the value of the '
Group Id ' attribute. |
void |
setOptional(String value)
Sets the value of the '
Optional ' attribute. |
void |
setScope(String value)
Sets the value of the '
Scope ' attribute. |
void |
setSystemPath(String value)
Sets the value of the '
System Path '
attribute. |
void |
setType(String value)
Sets the value of the '
Type ' attribute. |
void |
setVersion(String value)
Sets the value of the '
Version ' attribute. |
void |
unsetExclusions()
Unsets the value of the '
Exclusions '
containment reference list. |
void |
unsetOptional()
Unsets the value of the '
Optional '
attribute. |
void |
unsetType()
Unsets the value of the '
Type ' attribute. |
String getGroupId()
setGroupId(String)
,
PomPackage.getDependency_GroupId()
void setGroupId(String value)
Group Id
' attribute.
value
- the new value of the 'Group Id' attribute.getGroupId()
String getArtifactId()
setArtifactId(String)
,
PomPackage.getDependency_ArtifactId()
void setArtifactId(String value)
Artifact Id
'
attribute. value
- the new value of the 'Artifact Id' attribute.getArtifactId()
String getVersion()
setVersion(String)
,
PomPackage.getDependency_Version()
void setVersion(String value)
Version
' attribute.
value
- the new value of the 'Version' attribute.getVersion()
String getType()
isSetType()
,
unsetType()
,
setType(String)
,
PomPackage.getDependency_Type()
void setType(String value)
Type
' attribute. value
- the new value of the 'Type' attribute.isSetType()
,
unsetType()
,
getType()
void unsetType()
Type
' attribute. isSetType()
,
getType()
,
setType(String)
boolean isSetType()
Type
'
attribute is set. unsetType()
,
getType()
,
setType(String)
String getClassifier()
setClassifier(String)
,
PomPackage.getDependency_Classifier()
void setClassifier(String value)
Classifier
'
attribute. value
- the new value of the 'Classifier' attribute.getClassifier()
String getScope()
setScope(String)
,
PomPackage.getDependency_Scope()
void setScope(String value)
Scope
' attribute. value
- the new value of the 'Scope' attribute.getScope()
String getSystemPath()
setSystemPath(String)
,
PomPackage.getDependency_SystemPath()
void setSystemPath(String value)
System Path
'
attribute. value
- the new value of the 'System Path' attribute.getSystemPath()
org.eclipse.emf.common.util.EList<Exclusion> getExclusions()
Exclusion
. 4.0.0 Lists a set of artifacts that should be excluded from this dependency's artifact list
when it comes to calculating transitive dependencies. isSetExclusions()
,
unsetExclusions()
,
PomPackage.getDependency_Exclusions()
void unsetExclusions()
Exclusions
'
containment reference list. isSetExclusions()
,
getExclusions()
boolean isSetExclusions()
Exclusions
' containment reference list is set. unsetExclusions()
,
getExclusions()
String getOptional()
"false"
. 4.0.0 Indicates the dependency is optional for
use of this library. While the version of the dependency will be taken into account for dependency calculation if
the library is used elsewhere, it will not be passed on transitively. isSetOptional()
,
unsetOptional()
,
setOptional(String)
,
PomPackage.getDependency_Optional()
void setOptional(String value)
Optional
' attribute.
value
- the new value of the 'Optional' attribute.isSetOptional()
,
unsetOptional()
,
getOptional()
void unsetOptional()
Optional
'
attribute. isSetOptional()
,
getOptional()
,
setOptional(String)
boolean isSetOptional()
Optional
'
attribute is set. unsetOptional()
,
getOptional()
,
setOptional(String)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.