Class MirrorOptions


  • public class MirrorOptions
    extends java.lang.Object
    Various options which can be configured for mirroring. See org.eclipse.equinox.p2.internal.repository.tools.SlicingOptions.
    • Field Detail

      • INSTALL_FEATURES

        private static final java.lang.String INSTALL_FEATURES
        See Also:
        Constant Field Values
      • followStrictOnly

        private boolean followStrictOnly
      • includeOptional

        private boolean includeOptional
      • includeNonGreedy

        private boolean includeNonGreedy
      • includePacked

        private boolean includePacked
      • followOnlyFilteredRequirements

        private boolean followOnlyFilteredRequirements
      • latestVersionOnly

        private boolean latestVersionOnly
      • filter

        private java.util.Map<java.lang.String,​java.lang.String> filter
      • ignoreErrors

        private boolean ignoreErrors
    • Constructor Detail

      • MirrorOptions

        public MirrorOptions()
        Creates mirror options with default values.
    • Method Detail

      • isFollowStrictOnly

        public boolean isFollowStrictOnly()
      • setFollowStrictOnly

        public void setFollowStrictOnly​(boolean followStrictOnly)
        Set to true if only strict dependencies should be followed. A strict dependency is defined by a version range only including one version (e.g. [1.0.0.v2009, 1.0.0.v2009]). (Default is false)
      • isIncludeOptional

        public boolean isIncludeOptional()
      • setIncludeOptional

        public void setIncludeOptional​(boolean includeOptional)
        Whether or not to follow optional requirements. (Default is true).
      • isIncludeNonGreedy

        public boolean isIncludeNonGreedy()
      • isIncludePacked

        public boolean isIncludePacked()
      • setIncludeNonGreedy

        public void setIncludeNonGreedy​(boolean includeNonGreedy)
        Whether or not to follow non-greedy requirements. (Default is true).
      • isIncludeFeatures

        public boolean isIncludeFeatures()
      • setIncludeFeatures

        public void setIncludeFeatures​(boolean includeFeatures)
      • isFollowOnlyFilteredRequirements

        public boolean isFollowOnlyFilteredRequirements()
      • setFollowOnlyFilteredRequirements

        public void setFollowOnlyFilteredRequirements​(boolean followOnlyFilteredRequirements)
        Whether to follow only requirements which match the given filter.
      • isLatestVersionOnly

        public boolean isLatestVersionOnly()
      • setLatestVersionOnly

        public void setLatestVersionOnly​(boolean latestVersionOnly)
        Set to "true" to filter the resulting set of IUs to only included the latest version of each Installable Unit. By default, all versions satisfying dependencies are included.
      • getFilter

        public java.util.Map<java.lang.String,​java.lang.String> getFilter()
        Filter properties
      • setPlatformFilter

        public void setPlatformFilter​(java.lang.String os,
                                      java.lang.String ws,
                                      java.lang.String arch)
      • setIncludePacked

        public void setIncludePacked​(boolean includePacked)
      • setIgnoreErrors

        public void setIgnoreErrors​(boolean ignoreErrors)
        When set to true,the mirroring application continues to run in the event of an error during the mirroring process. (Default: false)
      • isIgnoreErrors

        public boolean isIgnoreErrors()