Class MirrorOptions
- java.lang.Object
-
- org.eclipse.tycho.p2.tools.mirroring.facade.MirrorOptions
-
public class MirrorOptions extends java.lang.ObjectVarious options which can be configured for mirroring. See org.eclipse.equinox.p2.internal.repository.tools.SlicingOptions.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>filterprivate booleanfollowOnlyFilteredRequirementsprivate booleanfollowStrictOnlyprivate booleanignoreErrorsprivate booleanincludeNonGreedyprivate booleanincludeOptionalprivate booleanincludePackedprivate static java.lang.StringINSTALL_FEATURESprivate booleanlatestVersionOnly
-
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 java.util.Map<java.lang.String,java.lang.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(java.lang.String os, java.lang.String ws, java.lang.String arch)
-
-
-
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
-
-
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()
-
-