Package org.elasticsearch.gradle
Class ElasticsearchDistribution
java.lang.Object
org.elasticsearch.gradle.ElasticsearchDistribution
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.tasks.TaskDependencybooleanorg.gradle.api.file.ConfigurableFileCollectionbooleangetName()booleangetType()booleanisDocker()iterator()if not executed before, this freezes the distribution configuration and runs distribution finalizer logic.voidsetArchitecture(Architecture architecture) voidsetBundledJdk(Boolean bundledJdk) voidsetFailIfUnavailable(boolean failIfUnavailable) voidvoidsetPreferArchive(boolean preferArchive) voidFor simplicity only public distribution types are supported herevoidvoidsetVersion(String version) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
CURRENT_PLATFORM
-
-
Method Details
-
getName
-
getVersion
-
setVersion
-
getPlatform
-
setPlatform
-
getType
-
setType
-
setType
For simplicity only public distribution types are supported here -
getBundledJdk
public boolean getBundledJdk() -
isDocker
public boolean isDocker() -
setBundledJdk
-
getPreferArchive
public boolean getPreferArchive() -
setPreferArchive
public void setPreferArchive(boolean preferArchive) -
setArchitecture
-
getArchitecture
-
toString
-
maybeFreeze
if not executed before, this freezes the distribution configuration and runs distribution finalizer logic. -
getFilepath
-
getExtracted
public org.gradle.api.file.ConfigurableFileCollection getExtracted() -
getBuildDependencies
public org.gradle.api.tasks.TaskDependency getBuildDependencies()- Specified by:
getBuildDependenciesin interfaceorg.gradle.api.Buildable
-
iterator
-