org.apache.ivy.ant
Class IvyConfigure

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.ivy.ant.IvyTask
              extended by org.apache.ivy.ant.IvyConfigure
All Implemented Interfaces:
java.lang.Cloneable

public class IvyConfigure
extends IvyTask

Configure Ivy with an ivysettings.xml file

Author:
Xavier Hanin

Nested Class Summary
static class IvyConfigure.Credentials
           
 
Field Summary
 
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
IvyConfigure()
           
 
Method Summary
 void addConfiguredCredentials(IvyConfigure.Credentials c)
           
 void execute()
           
 java.io.File getFile()
           
 java.lang.String getHost()
           
 java.lang.String getPasswd()
           
 java.lang.String getRealm()
           
 java.net.URL getUrl()
           
 java.lang.String getUsername()
           
 void setFile(java.io.File conf)
           
 void setHost(java.lang.String host)
           
 void setPasswd(java.lang.String passwd)
           
 void setRealm(java.lang.String realm)
           
 void setUrl(java.lang.String url)
           
 void setUsername(java.lang.String userName)
           
 
Methods inherited from class org.apache.ivy.ant.IvyTask
doValidate, ensureMessageInitialised, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, isValidate, mergeConfs, setIvyInstance, setProject, setResolved, setResolved, setValidate, splitConfs
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IvyConfigure

public IvyConfigure()
Method Detail

getFile

public java.io.File getFile()

setFile

public void setFile(java.io.File conf)

getUrl

public java.net.URL getUrl()

setUrl

public void setUrl(java.lang.String url)
            throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getPasswd

public java.lang.String getPasswd()

setPasswd

public void setPasswd(java.lang.String passwd)

getRealm

public java.lang.String getRealm()

setRealm

public void setRealm(java.lang.String realm)

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String userName)

addConfiguredCredentials

public void addConfiguredCredentials(IvyConfigure.Credentials c)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException