| Modifier and Type | Method and Description |
|---|---|
String |
DistributionDownloadPath.getPath(Distribution distribution) |
String |
SameDownloadPathForEveryDistribution.getPath(Distribution distribution) |
DistributionPackage |
PackageResolver.packageFor(Distribution distribution) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableDistribution
Immutable implementation of
Distribution. |
| Modifier and Type | Method and Description |
|---|---|
static Distribution |
Distribution.detectFor(Version version) |
static Distribution |
Distribution.of(Version version,
de.flapdoodle.os.Platform platform) |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableDistribution |
ImmutableDistribution.copyOf(Distribution instance)
Creates an immutable copy of a
Distribution value. |
ImmutableDistribution.Builder |
ImmutableDistribution.Builder.from(Distribution instance)
Fill a builder with attribute values from the provided
Distribution instance. |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
DistributionException.withDistribution() |
| Constructor and Description |
|---|
DistributionException(Distribution distribution) |
DistributionException(Distribution distribution,
Throwable cause) |
DistributionException(String message,
Distribution distribution) |
DistributionException(String message,
Distribution distribution,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<String> |
AbstractProcess.getCommandLine(Distribution distribution,
T config,
ExtractedFileSet exe) |
protected Map<String,String> |
AbstractProcess.getEnvironment(Distribution distribution,
T config,
ExtractedFileSet exe) |
protected abstract EXECUTABLE |
Starter.newExecutable(CONFIG config,
Distribution distribution,
RuntimeConfig runtime,
ExtractedFileSet exe) |
EXECUTABLE |
Starter.prepare(CONFIG config,
Distribution distribution) |
List<String> |
CommandLinePostProcessor.process(Distribution distribution,
List<String> args) |
List<String> |
CommandLinePostProcessor.Noop.process(Distribution distribution,
List<String> args) |
protected abstract P |
Executable.start(Distribution distribution,
T config,
RuntimeConfig runtime) |
| Constructor and Description |
|---|
AbstractProcess(Distribution distribution,
T config,
RuntimeConfig runtimeConfig,
E executable) |
Executable(Distribution distribution,
T config,
RuntimeConfig runtimeConfig,
ExtractedFileSet executable) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Distribution,ExtractedFileSet> |
ImmutableStaticArtifactStore.fileSet() |
protected abstract Map<Distribution,ExtractedFileSet> |
StaticArtifactStore.fileSet() |
| Modifier and Type | Method and Description |
|---|---|
File |
Downloader.download(DownloadConfig runtime,
Distribution distribution) |
File |
UrlConnectionDownloader.download(DownloadConfig downloadConfig,
Distribution distribution) |
Optional<ExtractedFileSet> |
CachingArtifactStore.extractFileSet(Distribution distribution) |
Optional<ExtractedFileSet> |
ExtractedArtifactStore.extractFileSet(Distribution distribution) |
Optional<ExtractedFileSet> |
StaticArtifactStore.extractFileSet(Distribution distribution) |
Optional<ExtractedFileSet> |
ArtifactStore.extractFileSet(Distribution distribution) |
Optional<ExtractedFileSet> |
IArtifactStore.extractFileSet(Distribution distribution) |
String |
Downloader.getDownloadUrl(DownloadConfig runtime,
Distribution distribution)
Deprecated.
|
String |
UrlConnectionDownloader.getDownloadUrl(DownloadConfig runtime,
Distribution distribution) |
ImmutableStaticArtifactStore.Builder |
ImmutableStaticArtifactStore.Builder.putFileSet(Distribution key,
ExtractedFileSet value)
Put one entry to the
fileSet map. |
void |
CachingArtifactStore.removeFileSet(Distribution distribution,
ExtractedFileSet executable) |
void |
ExtractedArtifactStore.removeFileSet(Distribution distribution,
ExtractedFileSet files) |
void |
StaticArtifactStore.removeFileSet(Distribution distribution,
ExtractedFileSet files) |
void |
ArtifactStore.removeFileSet(Distribution distribution,
ExtractedFileSet all) |
void |
IArtifactStore.removeFileSet(Distribution distribution,
ExtractedFileSet files) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableStaticArtifactStore.Builder |
ImmutableStaticArtifactStore.Builder.fileSet(Map<? extends Distribution,? extends ExtractedFileSet> entries)
Sets or replaces all mappings from the specified map as entries for the
fileSet map. |
ImmutableStaticArtifactStore.Builder |
ImmutableStaticArtifactStore.Builder.putAllFileSet(Map<? extends Distribution,? extends ExtractedFileSet> entries)
Put all mappings from the specified map as entries to
fileSet map. |
ImmutableStaticArtifactStore.Builder |
ImmutableStaticArtifactStore.Builder.putFileSet(Map.Entry<? extends Distribution,? extends ExtractedFileSet> entry)
Put one entry to the
fileSet map. |
ImmutableStaticArtifactStore |
ImmutableStaticArtifactStore.withFileSet(Map<? extends Distribution,? extends ExtractedFileSet> entries)
Copy the current immutable object by replacing the
fileSet map with the specified map. |
Copyright © 2022. All rights reserved.