Package org.apache.ivy.core.deliver
Class DeliverEngine
java.lang.Object
org.apache.ivy.core.deliver.DeliverEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deliver
(String revision, String destIvyPattern, DeliverOptions options) Delivers a resolved ivy file based upon last resolve call status.void
deliver
(ModuleRevisionId mrid, String revision, String destIvyPattern, DeliverOptions options) Delivers a resolved ivy file based upon last resolve call status.
-
Constructor Details
-
DeliverEngine
-
-
Method Details
-
deliver
public void deliver(String revision, String destIvyPattern, DeliverOptions options) throws IOException, 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:
IOException
- if something goes wrongParseException
- if something goes wrong
-
deliver
public void deliver(ModuleRevisionId mrid, String revision, String destIvyPattern, DeliverOptions options) throws IOException, 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:
IOException
- if something goes wrongParseException
- if something goes wrong
-