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 propertiesbooleanisFollowOnlyFilteredRequirements()booleanisFollowStrictOnly()booleanisIgnoreErrors()booleanisIncludeFeatures()booleanisIncludeNonGreedy()booleanisIncludeOptional()booleanisIncludePacked()booleanisLatestVersionOnly()voidsetFollowOnlyFilteredRequirements(boolean followOnlyFilteredRequirements)Whether to follow only requirements which match the given filter.voidsetFollowStrictOnly(boolean followStrictOnly)Set to true if only strict dependencies should be followed.voidsetIgnoreErrors(boolean ignoreErrors)When set to true,the mirroring application continues to run in the event of an error during the mirroring process.voidsetIncludeFeatures(boolean includeFeatures)voidsetIncludeNonGreedy(boolean includeNonGreedy)Whether or not to follow non-greedy requirements.voidsetIncludeOptional(boolean includeOptional)Whether or not to follow optional requirements.voidsetIncludePacked(boolean includePacked)voidsetLatestVersionOnly(boolean latestVersionOnly)Set to "true" to filter the resulting set of IUs to only included the latest version of each Installable Unit.voidsetPlatformFilter(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()
-
-