Class RemoteRepository
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.maven.resolver.internal.ant.types.RemoteRepository
- All Implemented Interfaces:
Cloneable
,RemoteRepositoryContainer
public class RemoteRepository
extends org.apache.tools.ant.types.DataType
implements RemoteRepositoryContainer
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthentication
(Authentication authentication) void
addReleases
(RemoteRepository.Policy policy) void
addSnapshots
(RemoteRepository.Policy policy) protected static void
checkChecksums
(String checksums) protected static void
checkUpdates
(String updates) getId()
protected RemoteRepository
getRef()
getType()
getUrl()
boolean
boolean
void
setAuthRef
(org.apache.tools.ant.types.Reference ref) void
setChecksums
(String checksums) void
void
setProject
(org.apache.tools.ant.Project project) void
setRefid
(org.apache.tools.ant.types.Reference ref) void
setReleases
(boolean releases) void
setSnapshots
(boolean snapshots) void
void
setUpdates
(String updates) void
void
validate
(org.apache.tools.ant.Task task) Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation
-
Constructor Details
-
RemoteRepository
public RemoteRepository()
-
-
Method Details
-
setProject
public void setProject(org.apache.tools.ant.Project project) - Overrides:
setProject
in classorg.apache.tools.ant.ProjectComponent
-
getRef
-
validate
public void validate(org.apache.tools.ant.Task task) - Specified by:
validate
in interfaceRemoteRepositoryContainer
-
setRefid
public void setRefid(org.apache.tools.ant.types.Reference ref) - Overrides:
setRefid
in classorg.apache.tools.ant.types.DataType
-
getId
-
setId
-
getUrl
-
setUrl
-
getType
-
setType
-
getReleasePolicy
-
addReleases
-
getSnapshotPolicy
-
addSnapshots
-
isReleases
public boolean isReleases() -
setReleases
public void setReleases(boolean releases) -
isSnapshots
public boolean isSnapshots() -
setSnapshots
public void setSnapshots(boolean snapshots) -
getUpdates
-
setUpdates
-
checkUpdates
-
getChecksums
-
setChecksums
-
checkChecksums
-
getAuthentication
-
addAuthentication
-
setAuthRef
public void setAuthRef(org.apache.tools.ant.types.Reference ref) -
getRepositories
- Specified by:
getRepositories
in interfaceRemoteRepositoryContainer
-