Package com.io7m.coffeepick.runtime
Interface RuntimeDescriptionType
-
- All Known Implementing Classes:
RuntimeDescription
@Immutable public interface RuntimeDescriptionTypeA runtimes of a runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.Stringarchitecture()RuntimeHasharchiveHash()longarchiveSize()java.net.URIarchiveURI()java.util.Optional<RuntimeBuild>build()RuntimeConfigurationconfiguration()default java.lang.Stringid()java.lang.Stringplatform()java.net.URIrepository()default java.util.Set<java.lang.String>tags()RuntimeVersionversion()java.lang.Stringvm()
-
-
-
Method Detail
-
repository
java.net.URI repository()
- Returns:
- The repository to which this runtime belongs
-
version
RuntimeVersion version()
- Returns:
- The runtime version
-
configuration
RuntimeConfiguration configuration()
- Returns:
- The JVM configuration
-
platform
java.lang.String platform()
- Returns:
- The name of the platform upon which this runtime will run
- See Also:
RuntimePlatforms
-
architecture
java.lang.String architecture()
- Returns:
- The name of the architecture upon which this runtime will run
- See Also:
RuntimeArchitectures
-
archiveURI
java.net.URI archiveURI()
- Returns:
- A URI that can be used to fetch an archive of the runtime
-
archiveSize
long archiveSize()
- Returns:
- The size in octets of the archive
-
archiveHash
RuntimeHash archiveHash()
- Returns:
- The hash of the runtime
-
vm
java.lang.String vm()
- Returns:
- The name of the VM used in the runtime
- See Also:
RuntimeVMs
-
build
java.util.Optional<RuntimeBuild> build()
- Returns:
- The build information
-
tags
@Default default java.util.Set<java.lang.String> tags()
- Returns:
- A set of arbitrary tags added to the runtime
-
id
default java.lang.String id()
- Returns:
- A unique identifier for this runtime
-
-