Package org.mule.maven.client.api.model
Class RemoteRepository.RemoteRepositoryBuilder
java.lang.Object
org.mule.maven.client.api.model.RemoteRepository.RemoteRepositoryBuilder
- Enclosing interface:
- RemoteRepository
Builder for
RemoteRepository instances-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthentication(Authentication authentication) build()Builds theMavenConfigurationobject.releasePolicy(RepositoryPolicy releasePolicy) snapshotPolicy(RepositoryPolicy snapshotPolicy)
-
Constructor Details
-
RemoteRepositoryBuilder
public RemoteRepositoryBuilder()
-
-
Method Details
-
id
- Parameters:
id- the repository ID, unique and case-sensitive.- Returns:
- this
-
url
- Parameters:
url- the URL to access the remote repository- Returns:
- this
-
authentication
- Parameters:
authentication- authentication credentials to access the remote repository- Returns:
- this
-
releasePolicy
- Parameters:
releasePolicy-RepositoryPolicyfor release artifacts.- Returns:
- this
-
snapshotPolicy
- Parameters:
snapshotPolicy-RepositoryPolicyfor snapshot artifacts.- Returns:
- this
-
build
Builds theMavenConfigurationobject.- Returns:
MavenConfigurationwith the value sets.
-