Class MirrorOptions
- java.lang.Object
-
- org.eclipse.tycho.p2.tools.mirroring.facade.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 Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>
filter
private boolean
followOnlyFilteredRequirements
private boolean
followStrictOnly
private boolean
ignoreErrors
private boolean
includeNonGreedy
private boolean
includeOptional
private boolean
includePacked
private static java.lang.String
INSTALL_FEATURES
private boolean
latestVersionOnly
-
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 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(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()
-
-