|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.core.deliver.DeliverOptions
public class DeliverOptions
A set of options used to do a deliver.
Constructor Summary | |
---|---|
DeliverOptions()
Creates an instance of DeliverOptions which require to be configured using the appropriate setters. |
|
DeliverOptions(java.lang.String status,
java.util.Date pubDate,
CacheManager cache,
PublishingDependencyRevisionResolver pdrResolver,
boolean validate,
boolean resolveDynamicRevisions)
Creates an instance of DeliverOptions with all options explicitly set. |
Method Summary | |
---|---|
CacheManager |
getCache()
|
PublishingDependencyRevisionResolver |
getPdrResolver()
Return the pdrResolver that will be used during deliver for each dependency to get its published information. |
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 |
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 |
setCache(CacheManager cache)
|
DeliverOptions |
setPdrResolver(PublishingDependencyRevisionResolver pdrResolver)
Sets the pdrResolver that will be used during deliver for each dependency to get its published information. |
DeliverOptions |
setPubdate(java.util.Date pubdate)
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeliverOptions()
public DeliverOptions(java.lang.String status, java.util.Date pubDate, CacheManager cache, PublishingDependencyRevisionResolver pdrResolver, boolean validate, boolean resolveDynamicRevisions)
Method Detail |
---|
public static DeliverOptions newInstance(IvySettings settings)
settings
- The settings to use to get default option values
public CacheManager getCache()
public DeliverOptions setCache(CacheManager cache)
public PublishingDependencyRevisionResolver getPdrResolver()
public DeliverOptions setPdrResolver(PublishingDependencyRevisionResolver pdrResolver)
public boolean isResolveDynamicRevisions()
public DeliverOptions setResolveDynamicRevisions(boolean resolveDynamicRevisions)
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 resolve
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |