@Value.Immutable
public interface Platform
| Modifier and Type | Method and Description |
|---|---|
Architecture |
architecture() |
static Platform |
detect() |
static Platform |
detect(AttributeExtractorLookup attributeExtractorLookup,
MatcherLookup matcherLookup) |
static Architecture |
detectArchitecture(AttributeExtractorLookup attributeExtractorLookup,
MatcherLookup matcherLookup,
List<Architecture> architectures) |
static Optional<Distribution> |
detectDistribution(AttributeExtractorLookup attributeExtractorLookup,
MatcherLookup matcherLookup,
OS os) |
static OS |
detectOS(AttributeExtractorLookup attributeExtractorLookup,
MatcherLookup matcherLookup) |
static Optional<Version> |
detectVersion(AttributeExtractorLookup attributeExtractorLookup,
MatcherLookup matcherLookup,
Distribution distribution) |
Optional<Distribution> |
distribution() |
OS |
operatingSystem() |
Optional<Version> |
version() |
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, OS os)
static Optional<Version> detectVersion(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup, Distribution distribution)
static Architecture detectArchitecture(AttributeExtractorLookup attributeExtractorLookup, MatcherLookup matcherLookup, List<Architecture> architectures)
Copyright © 2021. All rights reserved.