@Value.Immutable public abstract class ToolVersionRange extends Object implements DistributionMatch
DistributionMatch.All, DistributionMatch.AndThen, DistributionMatch.Any| Constructor and Description |
|---|
ToolVersionRange() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
check() |
boolean |
match(de.flapdoodle.embed.process.distribution.Distribution distribution) |
boolean |
match(de.flapdoodle.embed.process.distribution.Version version) |
static ToolVersionRange |
of(NumericVersion min,
NumericVersion max) |
static ToolVersionRange |
of(String minMax) |
static ToolVersionRange |
of(String min,
String max) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitall, andThen, any, any@Value.Check protected void check()
@Value.Auxiliary public boolean match(de.flapdoodle.embed.process.distribution.Distribution distribution)
match in interface DistributionMatch@Value.Auxiliary public boolean match(de.flapdoodle.embed.process.distribution.Version version)
public static ToolVersionRange of(NumericVersion min, NumericVersion max)
public static ToolVersionRange of(String min, String max)
public static ToolVersionRange of(String minMax)
Copyright © 2023. All rights reserved.