public final class TargetPlatformFilter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TargetPlatformFilter.CapabilityPattern |
static class |
TargetPlatformFilter.CapabilityType |
static class |
TargetPlatformFilter.FilterAction |
Modifier and Type | Method and Description |
---|---|
TargetPlatformFilter.FilterAction |
getAction()
Returns the action to be performed.
|
TargetPlatformFilter.CapabilityPattern |
getActionPattern()
Returns the pattern for the
TargetPlatformFilter.FilterAction.RESTRICT action. |
TargetPlatformFilter.CapabilityPattern |
getScopePattern()
Returns the pattern to determine the scope of the filter, i.e.
|
static TargetPlatformFilter |
removeAllFilter(TargetPlatformFilter.CapabilityPattern scopePattern) |
static TargetPlatformFilter |
restrictionFilter(TargetPlatformFilter.CapabilityPattern scopePattern,
TargetPlatformFilter.CapabilityPattern restrictionPattern) |
String |
toString() |
public static TargetPlatformFilter removeAllFilter(TargetPlatformFilter.CapabilityPattern scopePattern)
public static TargetPlatformFilter restrictionFilter(TargetPlatformFilter.CapabilityPattern scopePattern, TargetPlatformFilter.CapabilityPattern restrictionPattern)
public TargetPlatformFilter.CapabilityPattern getScopePattern()
public TargetPlatformFilter.FilterAction getAction()
public TargetPlatformFilter.CapabilityPattern getActionPattern()
TargetPlatformFilter.FilterAction.RESTRICT
action. All units in scope which do
not match this pattern shall be removed.
If the action pattern returns null
for 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.
Copyright © 2008–2014 Eclipse Foundation. All rights reserved.