Uses of Record Class
land.oras.Platform
Packages that use Platform
-
Uses of Platform in land.oras
Modifier and TypeMethodDescriptionstatic PlatformPlatform.empty()Create a new platform with empty os and architectureManifestDescriptor.getPlatform()Return the platform as a Platform object@Nullable PlatformManifestDescriptor.getPlatformOrNull()Return the platform or null if the platform is not set Only use for serialization purposes, as the platform field is nullable in the JSON representation of the manifest descriptorstatic PlatformPlatform.linux386()Create a new platform linux/amd64static PlatformPlatform.linuxAmd64()Create a new platform linux/amd64static PlatformPlatform.linuxArm64V8()Create a new platform linux arm64/v8static PlatformPlatform.linuxArmV6()Create a new platform linux arm/v6static PlatformPlatform.linuxArmV7()Create a new platform linux arm/v7static PlatformPlatform.linuxPpc64le()Create a new platform ppc64lestatic PlatformPlatform.linuxRiscv64()Create a new platform riscv64static PlatformPlatform.linuxS390x()Create a new platform s390xstatic PlatformCreate a new platform with the given os and architecturestatic PlatformCreate a new platform with the given os, architecture and variantstatic PlatformPlatform.unknown()Create a new platform with unknown os and architecturestatic PlatformPlatform.windowsAmd64()Create a new platform windows/amd64Platform.withFeatures(List<String> features) Create a new platform with the given featuresPlatform.withOsFeatures(List<String> osFeatures) Create a new platform with the given os featuresPlatform.withOsVersion(String osVersion) Create a new platform with the given os versionPlatform.withVariant(String variant) Create a new platform with the given variantModifier and TypeMethodDescriptionFilter the manifests by platformIndex.filter(Platform platform, BiPredicate<Platform, Platform> comparator) Filter the manifests by platform with a custom comparator@Nullable ManifestDescriptorIndex.findUnique(Platform platform) Find a unique manifest by platform.static booleanCheck if 2 platform are matching, which means the os and architecture are the same (including variant)static booleanCheck if 2 platform are matching, which means the os and architecture are the same (including variant)static ManifestDescriptorManifestDescriptor.of(Manifest manifest, Platform platform, Annotations annotations, SupportedAlgorithm supportedAlgorithm) Utility method.static booleanPlatform.unspecified(Platform platform) Return true if the platform is unspecified, which means both os and architecture are either empty or unknownManifestDescriptor.withPlatform(Platform platform) Create a manifest descriptor with the given platformModifier and TypeMethodDescriptionIndex.filter(Platform platform, BiPredicate<Platform, Platform> comparator) Filter the manifests by platform with a custom comparatorIndex.filter(Platform platform, BiPredicate<Platform, Platform> comparator) Filter the manifests by platform with a custom comparator