Package org.eclipse.tycho.artifacts
Class TargetPlatformFilter
- java.lang.Object
-
- org.eclipse.tycho.artifacts.TargetPlatformFilter
-
public final class TargetPlatformFilter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTargetPlatformFilter.CapabilityPatternstatic classTargetPlatformFilter.CapabilityTypestatic classTargetPlatformFilter.FilterAction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetPlatformFilter.FilterActiongetAction()Returns the action to be performed.TargetPlatformFilter.CapabilityPatterngetActionPattern()Returns the pattern for theTargetPlatformFilter.FilterAction.RESTRICTaction.TargetPlatformFilter.CapabilityPatterngetScopePattern()Returns the pattern to determine the scope of the filter, i.e.static TargetPlatformFilterremoveAllFilter(TargetPlatformFilter.CapabilityPattern scopePattern)static TargetPlatformFilterrestrictionFilter(TargetPlatformFilter.CapabilityPattern scopePattern, TargetPlatformFilter.CapabilityPattern restrictionPattern)StringtoString()
-
-
-
Method Detail
-
removeAllFilter
public static TargetPlatformFilter removeAllFilter(TargetPlatformFilter.CapabilityPattern scopePattern)
-
restrictionFilter
public static TargetPlatformFilter restrictionFilter(TargetPlatformFilter.CapabilityPattern scopePattern, TargetPlatformFilter.CapabilityPattern restrictionPattern)
-
getScopePattern
public TargetPlatformFilter.CapabilityPattern getScopePattern()
Returns the pattern to determine the scope of the filter, i.e. the set of units to be processed by the filter.
-
getAction
public TargetPlatformFilter.FilterAction getAction()
Returns the action to be performed.
-
getActionPattern
public TargetPlatformFilter.CapabilityPattern getActionPattern()
Returns the pattern for theTargetPlatformFilter.FilterAction.RESTRICTaction. All units in scope which do not match this pattern shall be removed.If the action pattern returns
nullfor its type, or type and id attributes, these values shall be inherited from the scope pattern. This ensures that filters with a short <restrictTo> pattern with only a single <version> or <versionRange> attribute work as expected.
-
-