@Value.Immutable public abstract class Platform extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
Platform() |
| Modifier and Type | Method and Description |
|---|---|
abstract Architecture |
architecture() |
static Platform |
detect(Collection<? extends OS> osList) |
abstract Optional<Distribution> |
distribution() |
static List<Platform> |
guess(Collection<? extends OS> osList) |
abstract OS |
operatingSystem() |
abstract Optional<Version> |
version() |
public abstract OS operatingSystem()
public abstract Architecture architecture()
public abstract Optional<Distribution> distribution()
public static Platform detect(Collection<? extends OS> osList)
public static List<Platform> guess(Collection<? extends OS> osList)
Copyright © 2024. All rights reserved.