Package org.apache.ivy.ant
Class IvyAntSettings
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.ivy.ant.IvyAntSettings
- All Implemented Interfaces:
Cloneable
public class IvyAntSettings
extends org.apache.tools.ant.types.DataType
-
Nested Class Summary
Nested Classes -
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addConfiguredWorkspaceResolver
(AntWorkspaceResolver antWorkspaceResolver) getConfiguredIvyInstance
(org.apache.tools.ant.ProjectComponent task) Return the configured Ivy instance.getConfiguredIvyInstance
(org.apache.tools.ant.Task task) static IvyAntSettings
getDefaultInstance
(org.apache.tools.ant.ProjectComponent task) Returns the default ivy settings of this classloader.static IvyAntSettings
getDefaultInstance
(org.apache.tools.ant.Task task) protected Properties
getDefaultProperties
(org.apache.tools.ant.ProjectComponent task) getFile()
getHost()
getId()
getRealm()
getUrl()
void
void
void
void
void
setProject
(org.apache.tools.ant.Project p) void
void
void
void
setUsername
(String aUserName) 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, setRefid, tooManyAttributes, toString
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation
-
Constructor Details
-
IvyAntSettings
public IvyAntSettings()
-
-
Method Details
-
getDefaultInstance
Returns the default ivy settings of this classloader. If it doesn't exist yet, a new one is created using the given project to back the VariableContainer.- Parameters:
task
- TODO add text.- Returns:
- An IvySetting instance.
-
getDefaultInstance
-
getFile
-
getUrl
-
getPasswd
-
setPasswd
-
getRealm
-
setRealm
-
getHost
-
setHost
-
getUsername
-
setUsername
-
setProject
public void setProject(org.apache.tools.ant.Project p) - Overrides:
setProject
in classorg.apache.tools.ant.ProjectComponent
-
addConfiguredCredentials
-
setFile
-
setUrl
- Throws:
MalformedURLException
-
setUrl
-
setId
-
getId
-
getConfiguredIvyInstance
Return the configured Ivy instance.- Parameters:
task
- ProjectComponent- Returns:
- Returns the configured Ivy instance.
-
getConfiguredIvyInstance
-
getDefaultProperties
-
addConfiguredWorkspaceResolver
-