Class UpdateOptions


  • public class UpdateOptions
    extends java.lang.Object
    • Field Detail

      • settings

        private ParserSettings settings
        Settings to use for update, may be null.
      • namespace

        private Namespace namespace
        Namespace in which the module to update is, may be null.
      • resolvedRevisions

        private java.util.Map<ModuleRevisionId,​java.lang.String> resolvedRevisions
        Map from ModuleId of dependencies to new revision (as String)
      • resolvedBranches

        private java.util.Map<ModuleRevisionId,​java.lang.String> resolvedBranches
        Map from ModuleId of dependencies to new branch (as String)
      • status

        private java.lang.String status
        the new status, null to keep the old one
      • revision

        private java.lang.String revision
        the new revision, null to keep the old one
      • pubdate

        private java.util.Date pubdate
        the new publication date, null to keep the old one
      • replaceInclude

        private boolean replaceInclude
        Should included information be replaced
      • merge

        private boolean merge
        Should parent descriptor be merged inline
      • confsToExclude

        private java.lang.String[] confsToExclude
        Configurations to exclude during update, or null to keep all confs.
      • updateBranch

        private boolean updateBranch
        True to set branch information on dependencies to default branch when omitted, false to keep it as is.
      • branch

        private java.lang.String branch
      • generateRevConstraint

        private boolean generateRevConstraint
        True to indicate that the revConstraint attribute should be generated if applicable, false to never generate the revConstraint attribute.
    • Constructor Detail

      • UpdateOptions

        public UpdateOptions()
    • Method Detail

      • getNamespace

        public Namespace getNamespace()
      • getResolvedRevisions

        public java.util.Map<ModuleRevisionId,​java.lang.String> getResolvedRevisions()
      • getStatus

        public java.lang.String getStatus()
      • setStatus

        public UpdateOptions setStatus​(java.lang.String status)
      • getRevision

        public java.lang.String getRevision()
      • setRevision

        public UpdateOptions setRevision​(java.lang.String revision)
      • getPubdate

        public java.util.Date getPubdate()
      • setPubdate

        public UpdateOptions setPubdate​(java.util.Date pubdate)
      • isReplaceInclude

        public boolean isReplaceInclude()
      • setReplaceInclude

        public UpdateOptions setReplaceInclude​(boolean replaceInclude)
      • isMerge

        public boolean isMerge()
      • getConfsToExclude

        public java.lang.String[] getConfsToExclude()
      • setConfsToExclude

        public UpdateOptions setConfsToExclude​(java.lang.String[] confsToExclude)
      • isUpdateBranch

        public boolean isUpdateBranch()
      • setUpdateBranch

        public UpdateOptions setUpdateBranch​(boolean updateBranch)
      • getBranch

        public java.lang.String getBranch()
      • setBranch

        public UpdateOptions setBranch​(java.lang.String pubBranch)
      • isGenerateRevConstraint

        public boolean isGenerateRevConstraint()
      • setGenerateRevConstraint

        public UpdateOptions setGenerateRevConstraint​(boolean generateRevConstraint)
      • getResolvedBranches

        public java.util.Map<ModuleRevisionId,​java.lang.String> getResolvedBranches()