public class DeliverOptions
extends java.lang.Object
Constructor and Description |
---|
DeliverOptions()
Creates an instance of DeliverOptions which require to be configured using the appropriate
setters.
|
DeliverOptions(java.lang.String status,
java.util.Date pubDate,
PublishingDependencyRevisionResolver pdrResolver,
boolean validate,
boolean resolveDynamicRevisions,
java.lang.String[] confs)
Creates an instance of DeliverOptions with all options explicitly set.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.lang.String |
getPubBranch()
Returns the branch with which the Ivy file should be delivered, or
null if
branch info shouldn't be changed. |
java.util.Date |
getPubdate() |
java.lang.String |
getResolveId()
Returns the id of a previous resolve to use for delivering.
|
java.lang.String |
getStatus()
Returns the status to which the module should be delivered, or null if the current status
should be kept.
|
boolean |
isGenerateRevConstraint() |
boolean |
isMerge() |
boolean |
isReplaceForcedRevisions() |
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(java.lang.String[] confs)
Sets the configurations to deliver.
|
DeliverOptions |
setGenerateRevConstraint(boolean generateRevConstraint) |
DeliverOptions |
setMerge(boolean merge) |
DeliverOptions |
setPdrResolver(PublishingDependencyRevisionResolver pdrResolver)
Sets the pdrResolver that will be used during deliver for each dependency to get its
published information.
|
DeliverOptions |
setPubBranch(java.lang.String pubBranch)
Sets the branch with which the Ivy file should be delivered.
|
DeliverOptions |
setPubdate(java.util.Date pubdate) |
DeliverOptions |
setReplaceForcedRevisions(boolean replaceForcedRevisions) |
DeliverOptions |
setResolveDynamicRevisions(boolean resolveDynamicRevisions) |
DeliverOptions |
setResolveId(java.lang.String resolveId)
Sets the id of a previous resolve to use for delivering.
|
DeliverOptions |
setStatus(java.lang.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) |
java.lang.String |
toString() |
public DeliverOptions()
public DeliverOptions(java.lang.String status, java.util.Date pubDate, PublishingDependencyRevisionResolver pdrResolver, boolean validate, boolean resolveDynamicRevisions, java.lang.String[] confs)
public static DeliverOptions newInstance(IvySettings settings)
settings
- The settings to use to get default option valuespublic PublishingDependencyRevisionResolver getPdrResolver()
public DeliverOptions setPdrResolver(PublishingDependencyRevisionResolver pdrResolver)
public boolean isResolveDynamicRevisions()
public DeliverOptions setResolveDynamicRevisions(boolean resolveDynamicRevisions)
public boolean isReplaceForcedRevisions()
public DeliverOptions setReplaceForcedRevisions(boolean replaceForcedRevisions)
public boolean isValidate()
public DeliverOptions setValidate(boolean validate)
public java.util.Date getPubdate()
public DeliverOptions setPubdate(java.util.Date pubdate)
public java.lang.String getStatus()
public DeliverOptions setStatus(java.lang.String status)
public java.lang.String getResolveId()
public DeliverOptions setResolveId(java.lang.String resolveId)
resolveId
- the id of a previous resolvepublic java.lang.String[] getConfs()
public DeliverOptions setConfs(java.lang.String[] confs)
confs
- the configurations to deliverpublic java.lang.String getPubBranch()
null
if
branch info shouldn't be changed.public DeliverOptions setPubBranch(java.lang.String pubBranch)
pubBranch
- the branch with which the Ivy file should be deliveredpublic boolean isGenerateRevConstraint()
public DeliverOptions setGenerateRevConstraint(boolean generateRevConstraint)
public boolean isMerge()
public DeliverOptions setMerge(boolean merge)
public java.lang.String toString()
toString
in class java.lang.Object