public class RemoteRepository extends org.apache.tools.ant.types.DataType implements RemoteRepositoryContainer
Modifier and Type | Class and Description |
---|---|
static class |
RemoteRepository.Policy |
Constructor and Description |
---|
RemoteRepository() |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
public void setProject(org.apache.tools.ant.Project project)
setProject
in class org.apache.tools.ant.ProjectComponent
protected RemoteRepository getRef()
public void validate(org.apache.tools.ant.Task task)
validate
in interface RemoteRepositoryContainer
public void setRefid(org.apache.tools.ant.types.Reference ref)
setRefid
in class org.apache.tools.ant.types.DataType
public String getId()
public void setId(String id)
public String getUrl()
public void setUrl(String url)
public String getType()
public void setType(String type)
public RemoteRepository.Policy getReleasePolicy()
public void addReleases(RemoteRepository.Policy policy)
public RemoteRepository.Policy getSnapshotPolicy()
public void addSnapshots(RemoteRepository.Policy policy)
public boolean isReleases()
public void setReleases(boolean releases)
public boolean isSnapshots()
public void setSnapshots(boolean snapshots)
public String getUpdates()
public void setUpdates(String updates)
protected static void checkUpdates(String updates)
public String getChecksums()
public void setChecksums(String checksums)
protected static void checkChecksums(String checksums)
public Authentication getAuthentication()
public void addAuthentication(Authentication authentication)
public void setAuthRef(org.apache.tools.ant.types.Reference ref)
public List<RemoteRepository> getRepositories()
getRepositories
in interface RemoteRepositoryContainer
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.