| Modifier and Type | Method and Description |
|---|---|
static ScopeType |
ScopeType.fromScopeType(String scopeName)
Maps a string to ScopeType
|
static ScopeType |
ScopeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
ScopeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ScopeType |
MavenDependency.getScope()
Returns the scope for this
MavenDependency. |
| Modifier and Type | Method and Description |
|---|---|
static MavenDependency |
MavenDependencies.createDependency(MavenCoordinate coordinate,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
Creates a new
MavenDependency instance from the specified properties. |
static MavenDependency |
MavenDependencies.createDependency(String canonicalForm,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
Creates a new
MavenDependency instance from the specified, required canonical form in format
, with the additional, optional
properties. |
| Constructor and Description |
|---|
ScopeFilter(ScopeType... scopes)
Creates a filter which accepts all artifacts which have scope matching one of those specified here.
|
| Constructor and Description |
|---|
AcceptScopesStrategy(ScopeType... scopes)
Creates a new instance allowing only the specified
ScopeTypes to pass through the
AcceptScopesStrategy.getResolutionFilters() |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.