public class EmptyPlatform extends Object implements Platform
Note that this platform matches an empty list of constraints. The behavior of this platform is
equivalent to ConstraintBasedPlatform
with an empty list of constraints.
Can be used in places when some platform is needed, but UnconfiguredPlatform
does not
work because it if effectively prohibits using platforms.
Modifier and Type | Field and Description |
---|---|
static EmptyPlatform |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
matchesAll(Collection<ConstraintValue> constraintValues,
DependencyStack dependencyStack) |
String |
toString() |
public static final EmptyPlatform INSTANCE
public boolean matchesAll(Collection<ConstraintValue> constraintValues, DependencyStack dependencyStack)
matchesAll
in interface Platform
true
if the current platform matches the provided constraints.