public interface MavenRemoteRepository
Modifier and Type | Method and Description |
---|---|
MavenChecksumPolicy |
getChecksumPolicy()
Returns the policy chosen for checking locally stored/cached artifacts (both for release and snapshot)
|
String |
getId()
Returns the unique ID of this
MavenRemoteRepository . |
String |
getType()
Returns the type, i.e.
|
MavenUpdatePolicy |
getUpdatePolicy()
Returns the policy chosen for refreshing locally stored/cached artifacts (both for release and snapshot)
|
String |
getUrl()
Returns the URL of this
MavenRemoteRepository . |
MavenRemoteRepository |
setChecksumPolicy(MavenChecksumPolicy policy)
Sets the policy chosen for checking locally stored/cached artifacts (both for release and snapshot) in a fluent way.
|
MavenRemoteRepository |
setUpdatePolicy(MavenUpdatePolicy policy)
Sets the policy chosen for refreshing locally stored/cached artifacts (both for release and snapshot) in a fluent way.
|
String getId()
MavenRemoteRepository
. The ID is arbitrary. There is no default, and this is
never null
MavenRemoteRepository
.String getType()
MavenRemoteRepository
. It is always "default".MavenRemoteRepository
. It is always "default".String getUrl()
MavenRemoteRepository
. There is no default, and this is never null
MavenRemoteRepository
. There is no default, and this is never null
MavenUpdatePolicy getUpdatePolicy()
MavenChecksumPolicy getChecksumPolicy()
MavenRemoteRepository setUpdatePolicy(MavenUpdatePolicy policy)
policy
- The policy chosen for refreshing locally stored/cached artifacts (both for release and snapshot)
in a fluent way. This is null by default.MavenRemoteRepository setChecksumPolicy(MavenChecksumPolicy policy)
policy
- the policy chosen for checking locally stored/cached artifacts (both for release and snapshot) in
a fluent way. This is null by default.Copyright © 2022 JBoss by Red Hat. All rights reserved.