@Value.Immutable
public interface Platform
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
OS operatingSystem()
Architecture architecture()
Optional<Distribution> distribution()
static Platform detect()
static Platform detect(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup)
static List<Platform> guess(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup)
static OS detectOS(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup)
static Optional<Distribution> detectDistribution(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup, Iterable<? extends Distribution> distributions)
static Optional<Version> detectVersion(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup, Distribution distribution)
static Optional<Version> detectVersion(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup, List<? extends Version> versions)
static Architecture detectArchitecture(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup, List<? extends Architecture> architectures)
Copyright © 2022. All rights reserved.