org.codehaus.groovy.grails.resolve
Class GrailsRepository

java.lang.Object
  extended by org.apache.ivy.plugins.repository.AbstractRepository
      extended by org.apache.ivy.plugins.repository.url.URLRepository
          extended by org.codehaus.groovy.grails.resolve.GrailsRepository
All Implemented Interfaces:
org.apache.ivy.plugins.repository.Repository

public class GrailsRepository
extends org.apache.ivy.plugins.repository.url.URLRepository

Repository cable of handling the Grails svn repo's repository patterns.

Since:
2.0

Constructor Summary
GrailsRepository()
           
 
Method Summary
 void get(java.lang.String source, java.io.File destination)
           
 org.apache.ivy.plugins.repository.Resource getResource(java.lang.String source)
           
 java.util.List list(java.lang.String parent)
           
 void put(java.io.File source, java.lang.String destination, boolean overwrite)
           
 
Methods inherited from class org.apache.ivy.plugins.repository.AbstractRepository
addTransferListener, fireTransferCompleted, fireTransferCompleted, fireTransferError, fireTransferError, fireTransferEvent, fireTransferInitiated, fireTransferProgress, fireTransferStarted, fireTransferStarted, getFileSeparator, getName, hasTransferListener, put, removeTransferListener, setName, standardize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrailsRepository

public GrailsRepository()
Method Detail

getResource

public org.apache.ivy.plugins.repository.Resource getResource(java.lang.String source)
                                                       throws java.io.IOException
Specified by:
getResource in interface org.apache.ivy.plugins.repository.Repository
Overrides:
getResource in class org.apache.ivy.plugins.repository.url.URLRepository
Throws:
java.io.IOException

get

public void get(java.lang.String source,
                java.io.File destination)
         throws java.io.IOException
Specified by:
get in interface org.apache.ivy.plugins.repository.Repository
Overrides:
get in class org.apache.ivy.plugins.repository.url.URLRepository
Throws:
java.io.IOException

put

public void put(java.io.File source,
                java.lang.String destination,
                boolean overwrite)
         throws java.io.IOException
Overrides:
put in class org.apache.ivy.plugins.repository.url.URLRepository
Throws:
java.io.IOException

list

public java.util.List list(java.lang.String parent)
                    throws java.io.IOException
Specified by:
list in interface org.apache.ivy.plugins.repository.Repository
Overrides:
list in class org.apache.ivy.plugins.repository.url.URLRepository
Throws:
java.io.IOException