@Value.Immutable
public interface Platform
OS operatingSystem()
Architecture architecture()
Optional<Distribution> distribution()
static Platform detect()
static Platform detect(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 © 2021. All rights reserved.