org.apache.ivy.core.deliver
public class DeliverOptions extends Object
| Constructor Summary | |
|---|---|
| DeliverOptions()
Creates an instance of DeliverOptions which require to be configured using the appropriate
setters. | |
| DeliverOptions(String status, Date pubDate, PublishingDependencyRevisionResolver pdrResolver, boolean validate, boolean resolveDynamicRevisions, String[] confs)
Creates an instance of DeliverOptions with all options explicitly set. | |
| Method Summary | |
|---|---|
| String[] | getConfs()
Return the configurations which must be deliverd. |
| PublishingDependencyRevisionResolver | getPdrResolver()
Return the pdrResolver that will be used during deliver for each dependency to get its
published information. |
| String | getPubBranch()
Returns the branch with which the Ivy file should be delivered, or null if
branch info shouldn't be changed.
|
| Date | getPubdate() |
| String | getResolveId()
Returns the id of a previous resolve to use for delivering.
|
| String | getStatus()
Returns the status to which the module should be delivered, or null if the current status
should be kept.
|
| boolean | isGenerateRevConstraint() |
| boolean | isResolveDynamicRevisions() |
| boolean | isValidate() |
| static DeliverOptions | newInstance(IvySettings settings)
Returns an instance of DeliverOptions with options corresponding to default values taken from
the given settings.
|
| DeliverOptions | setConfs(String[] confs)
Sets the configurations to deliver.
|
| DeliverOptions | setGenerateRevConstraint(boolean generateRevConstraint) |
| DeliverOptions | setPdrResolver(PublishingDependencyRevisionResolver pdrResolver)
Sets the pdrResolver that will be used during deliver for each dependency to get its
published information. |
| DeliverOptions | setPubBranch(String pubBranch)
Sets the branch with which the Ivy file should be delivered.
|
| DeliverOptions | setPubdate(Date pubdate) |
| DeliverOptions | setResolveDynamicRevisions(boolean resolveDynamicRevisions) |
| DeliverOptions | setResolveId(String resolveId)
Sets the id of a previous resolve to use for delivering.
|
| DeliverOptions | setStatus(String status)
Sets the status to which the module should be delivered, use null if the current status
should be kept.
|
| DeliverOptions | setValidate(boolean validate) |
| String | toString() |
Returns: the configurations to deliver
Returns: the pdrResolver that will be used during deliver
null if
branch info shouldn't be changed.
Returns: the branch with which the Ivy file should be delivered
Returns: the id of a previous resolve
Returns: the status to which the module should be delivered
Parameters: settings The settings to use to get default option values
Returns: a DeliverOptions instance ready to be used or customized
Parameters: confs the configurations to deliver
Returns: the instance of DeliverOptions on which the method has been called, for easy method chaining
Returns: the instance of DeliverOptions on which the method has been called, for easy method chaining
Parameters: pubBranch the branch with which the Ivy file should be delivered
Returns: the instance of DeliverOptions on which the method has been called, for easy method chaining
Parameters: resolveId the id of a previous resolve
Returns: the instance of DeliverOptions on which the method has been called, for easy method chaining
Returns: the instance of DeliverOptions on which the method has been called, for easy method chaining