public class ArtifactStoreBuilder extends AbstractBuilder<IArtifactStore>
| Modifier and Type | Field and Description |
|---|---|
protected static TypedProperty<IDownloadConfig> |
DOWNLOAD_CONFIG |
protected static TypedProperty<IDownloader> |
DOWNLOADER |
protected static TypedProperty<ITempNaming> |
EXECUTABLE_NAMING |
protected static TypedProperty<IDirectory> |
TEMP_DIR_FACTORY |
protected static TypedProperty<Boolean> |
USE_CACHE |
| Constructor and Description |
|---|
ArtifactStoreBuilder() |
| Modifier and Type | Method and Description |
|---|---|
IArtifactStore |
build() |
ArtifactStoreBuilder |
cache(boolean cache)
Deprecated.
|
protected IProperty<IDownloadConfig> |
download() |
ArtifactStoreBuilder |
download(AbstractBuilder<IDownloadConfig> downloadConfigBuilder)
Deprecated.
|
ArtifactStoreBuilder |
download(IDownloadConfig downloadConfig) |
protected IProperty<IDownloader> |
downloader() |
ArtifactStoreBuilder |
downloader(IDownloader downloader) |
protected IProperty<ITempNaming> |
executableNaming() |
ArtifactStoreBuilder |
executableNaming(ITempNaming execNaming) |
protected IProperty<IDirectory> |
tempDir() |
ArtifactStoreBuilder |
tempDir(IDirectory tempDirFactory) |
protected IProperty<Boolean> |
useCache() |
ArtifactStoreBuilder |
useCache(boolean cache) |
get, get, overwriteDefault, property, set, setDefaultprotected static final TypedProperty<ITempNaming> EXECUTABLE_NAMING
protected static final TypedProperty<IDirectory> TEMP_DIR_FACTORY
protected static final TypedProperty<IDownloadConfig> DOWNLOAD_CONFIG
protected static final TypedProperty<Boolean> USE_CACHE
protected static final TypedProperty<IDownloader> DOWNLOADER
@Deprecated public ArtifactStoreBuilder download(AbstractBuilder<IDownloadConfig> downloadConfigBuilder)
public ArtifactStoreBuilder download(IDownloadConfig downloadConfig)
protected IProperty<IDownloadConfig> download()
public ArtifactStoreBuilder tempDir(IDirectory tempDirFactory)
protected IProperty<IDirectory> tempDir()
public ArtifactStoreBuilder executableNaming(ITempNaming execNaming)
protected IProperty<ITempNaming> executableNaming()
public ArtifactStoreBuilder useCache(boolean cache)
@Deprecated public ArtifactStoreBuilder cache(boolean cache)
useCache(boolean)public ArtifactStoreBuilder downloader(IDownloader downloader)
protected IProperty<IDownloader> downloader()
public IArtifactStore build()
build in class AbstractBuilder<IArtifactStore>Copyright © 2018. All Rights Reserved.