Class RunTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.elasticsearch.gradle.testclusters.DefaultTestClustersTask
org.elasticsearch.gradle.testclusters.RunTask
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, TestClustersAware, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>

public abstract class RunTask extends DefaultTestClustersTask
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Named

    org.gradle.api.Named.Namer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface org.gradle.api.Task

    TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     
     
     
     
     
     
     
     
     
    void
     
    void
    setApmServerEnabled(Boolean apmServerEnabled)
     
    void
    setCliDebug(boolean enabled)
     
    void
    setDataDir(String dataDirStr)
     
    void
    setDebug(boolean enabled)
     
    void
    setEntitlementsEnabled(boolean enabled)
     
    void
     
    void
    setPlugins(String plugins)
     
    void
     
    void
    setPreserveData(Boolean preserveData)
     
    void
    setUseHttps(boolean useHttps)
     
    void
    setUseTransportTls(boolean useTransportTls)
     

    Methods inherited from class org.elasticsearch.gradle.testclusters.DefaultTestClustersTask

    getClusters

    Methods inherited from class org.gradle.api.DefaultTask

    compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    Methods inherited from class org.gradle.api.internal.AbstractTask

    acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface org.gradle.api.plugins.ExtensionAware

    getExtensions

    Methods inherited from interface org.gradle.api.Task

    configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getPath, getProject, getShouldRunAfter, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    Methods inherited from interface org.elasticsearch.gradle.testclusters.TestClustersAware

    enableCliDebug, enableDebug, enableEntitlements, getClusterInfo, getRegistry, getTasksService, useCluster, useCluster
  • Field Details

  • Constructor Details

    • RunTask

      public RunTask()
  • Method Details

    • setDebug

      public void setDebug(boolean enabled)
    • setCliDebug

      public void setCliDebug(boolean enabled)
    • setEntitlementsEnabled

      public void setEntitlementsEnabled(boolean enabled)
    • getDebug

      @Input public Boolean getDebug()
    • getCliDebug

      @Input public Boolean getCliDebug()
    • getEntitlementsEnabled

      @Input public Boolean getEntitlementsEnabled()
    • getApmServerEnabled

      @Input public Boolean getApmServerEnabled()
    • setApmServerEnabled

      public void setApmServerEnabled(Boolean apmServerEnabled)
    • setPlugins

      public void setPlugins(String plugins)
    • setPlugins

      public void setPlugins(List<String> plugins)
    • getPlugins

      @Input @Optional public List<String> getPlugins()
    • setDataDir

      public void setDataDir(String dataDirStr)
    • getPreserveData

      @Input public Boolean getPreserveData()
    • setPreserveData

      public void setPreserveData(Boolean preserveData)
    • setKeystorePassword

      public void setKeystorePassword(String password)
    • getKeystorePassword

      @Input @Optional public String getKeystorePassword()
    • getDataDir

      @Input @Optional public String getDataDir()
    • setUseHttps

      public void setUseHttps(boolean useHttps)
    • getUseHttps

      @Input @Optional public Boolean getUseHttps()
    • setUseTransportTls

      public void setUseTransportTls(boolean useTransportTls)
    • getUseTransportTls

      @Input @Optional public Boolean getUseTransportTls()
    • beforeStart

      public void beforeStart()
    • runAndWait

      public void runAndWait() throws IOException
      Throws:
      IOException