Interface MNativeWorkspaceType
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
MNWorkspace
A workspace for producing a native package.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Flow.Publisher<com.io7m.streamtime.core.STTransferStatistics> default booleanCheck if the operating system and architecture of the given module matches this workspace.
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
MException
-
operatingSystem
MOperatingSystemName operatingSystem()- Returns:
- The operating system name
-
architecture
MArchitectureName architecture()- Returns:
- The architecture name
-
javaRuntimeDownload
Flow.Publisher<com.io7m.streamtime.core.STTransferStatistics> javaRuntimeDownload()- Returns:
- The transfer statistic for java runtime downloads
-
javaRuntime
CompletableFuture<Path> javaRuntime()- Returns:
- The java runtime
-
createWorkDirectory
- Returns:
- A fresh working directory
- Throws:
MException- On errors
-
matchesModule
Check if the operating system and architecture of the given module matches this workspace.- Parameters:
module- The module- Returns:
trueif the module matches
-