Package org.apache.ivy.core.deliver
Class DeliverEngine
- java.lang.Object
-
- org.apache.ivy.core.deliver.DeliverEngine
-
public class DeliverEngine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DeliverEngine(DeliverEngineSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deliver(java.lang.String revision, java.lang.String destIvyPattern, DeliverOptions options)
Delivers a resolved ivy file based upon last resolve call status.void
deliver(ModuleRevisionId mrid, java.lang.String revision, java.lang.String destIvyPattern, DeliverOptions options)
Delivers a resolved ivy file based upon last resolve call status.
-
-
-
Constructor Detail
-
DeliverEngine
public DeliverEngine(DeliverEngineSettings settings)
-
-
Method Detail
-
deliver
public void deliver(java.lang.String revision, java.lang.String destIvyPattern, DeliverOptions options) throws java.io.IOException, java.text.ParseException
Delivers a resolved ivy file based upon last resolve call status. If resolve report file cannot be found in cache, then it throws an IllegalStateException (maybe resolve has not been called before ?).- Parameters:
revision
- the revision to which the module should be delivereddestIvyPattern
- the pattern to which the delivered ivy file should be writtenoptions
- the options with which deliver should be done- Throws:
java.io.IOException
- if something goes wrongjava.text.ParseException
- if something goes wrong
-
deliver
public void deliver(ModuleRevisionId mrid, java.lang.String revision, java.lang.String destIvyPattern, DeliverOptions options) throws java.io.IOException, java.text.ParseException
Delivers a resolved ivy file based upon last resolve call status. If resolve report file cannot be found in cache, then it throws an IllegalStateException (maybe resolve has not been called before ?).- Parameters:
mrid
- the module revision id of the module to deliverrevision
- the revision to which the module should be delivereddestIvyPattern
- the pattern to which the delivered ivy file should be writtenoptions
- the options with which deliver should be done- Throws:
java.io.IOException
- if something goes wrongjava.text.ParseException
- if something goes wrong
-
-