Class UpdateOptions
java.lang.Object
org.apache.ivy.plugins.parser.xml.UpdateOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String[]
Configurations to exclude during update, ornull
to keep all confs.private boolean
True to indicate that the revConstraint attribute should be generated if applicable, false to never generate the revConstraint attribute.private boolean
Should parent descriptor be merged inlineprivate ModuleDescriptor
private Namespace
Namespace in which the module to update is, may benull
.private Date
the new publication date,null
to keep the old oneprivate boolean
Should included information be replacedprivate Map<ModuleRevisionId,
String> Map from ModuleId of dependencies to new branch (as String)private Map<ModuleRevisionId,
String> Map from ModuleId of dependencies to new revision (as String)private String
the new revision,null
to keep the old oneprivate ParserSettings
Settings to use for update, may benull
.private String
the new status,null
to keep the old oneprivate boolean
True to set branch information on dependencies to default branch when omitted, false to keep it as is. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
boolean
isMerge()
boolean
boolean
setConfsToExclude
(String[] confsToExclude) setGenerateRevConstraint
(boolean generateRevConstraint) setMerge
(boolean merge) setMergedDescriptor
(ModuleDescriptor mergedDescriptor) setPubdate
(Date pubdate) setReplaceInclude
(boolean replaceInclude) setResolvedBranches
(Map<ModuleRevisionId, String> resolvedBranches) setResolvedRevisions
(Map<ModuleRevisionId, String> resolvedRevisions) setRevision
(String revision) setSettings
(ParserSettings settings) setUpdateBranch
(boolean updateBranch)
-
Field Details
-
settings
Settings to use for update, may benull
. -
namespace
Namespace in which the module to update is, may benull
. -
resolvedRevisions
Map from ModuleId of dependencies to new revision (as String) -
resolvedBranches
Map from ModuleId of dependencies to new branch (as String) -
status
the new status,null
to keep the old one -
revision
the new revision,null
to keep the old one -
pubdate
the new publication date,null
to keep the old one -
replaceInclude
private boolean replaceIncludeShould included information be replaced -
merge
private boolean mergeShould parent descriptor be merged inline -
mergedDescriptor
-
confsToExclude
Configurations to exclude during update, ornull
to keep all confs. -
updateBranch
private boolean updateBranchTrue to set branch information on dependencies to default branch when omitted, false to keep it as is. -
branch
-
generateRevConstraint
private boolean generateRevConstraintTrue to indicate that the revConstraint attribute should be generated if applicable, false to never generate the revConstraint attribute.
-
-
Constructor Details
-
UpdateOptions
public UpdateOptions()
-
-
Method Details
-
getSettings
-
setSettings
-
getNamespace
-
setNamespace
-
getResolvedRevisions
-
setResolvedRevisions
-
getStatus
-
setStatus
-
getRevision
-
setRevision
-
getPubdate
-
setPubdate
-
isReplaceInclude
public boolean isReplaceInclude() -
setReplaceInclude
-
isMerge
public boolean isMerge() -
setMerge
-
getMergedDescriptor
-
setMergedDescriptor
-
getConfsToExclude
-
setConfsToExclude
-
isUpdateBranch
public boolean isUpdateBranch() -
setUpdateBranch
-
getBranch
-
setBranch
-
isGenerateRevConstraint
public boolean isGenerateRevConstraint() -
setGenerateRevConstraint
-
getResolvedBranches
-
setResolvedBranches
-