Class MirrorOptions
- java.lang.Object
-
- org.eclipse.tycho.p2.tools.mirroring.facade.MirrorOptions
-
public class MirrorOptions extends Object
Various options which can be configured for mirroring. See org.eclipse.equinox.p2.internal.repository.tools.SlicingOptions.
-
-
Constructor Summary
Constructors Constructor Description MirrorOptions()
Creates mirror options with default values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getFilter()
Filter propertiesboolean
isFollowOnlyFilteredRequirements()
boolean
isFollowStrictOnly()
boolean
isIgnoreErrors()
boolean
isIncludeFeatures()
boolean
isIncludeNonGreedy()
boolean
isIncludeOptional()
boolean
isIncludePacked()
boolean
isLatestVersionOnly()
void
setFollowOnlyFilteredRequirements(boolean followOnlyFilteredRequirements)
Whether to follow only requirements which match the given filter.void
setFollowStrictOnly(boolean followStrictOnly)
Set to true if only strict dependencies should be followed.void
setIgnoreErrors(boolean ignoreErrors)
When set to true,the mirroring application continues to run in the event of an error during the mirroring process.void
setIncludeFeatures(boolean includeFeatures)
void
setIncludeNonGreedy(boolean includeNonGreedy)
Whether or not to follow non-greedy requirements.void
setIncludeOptional(boolean includeOptional)
Whether or not to follow optional requirements.void
setIncludePacked(boolean includePacked)
void
setLatestVersionOnly(boolean latestVersionOnly)
Set to "true" to filter the resulting set of IUs to only included the latest version of each Installable Unit.void
setPlatformFilter(String os, String ws, String arch)
-
-
-
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.
-
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()
-
-