Class AbstractYttRenderTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
com.formkiq.gradle.AbstractYttRenderTask
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, 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 AbstractYttRenderTask extends org.gradle.api.DefaultTask
Ytt Render Task.
  • 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
    Substitute data values without invoking ytt.
    static final String
    Render using ytt.

    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
    abstract org.gradle.api.provider.MapProperty<String,String>
    Keep the raw map INTERNAL to avoid non-deterministic iteration issues.
    abstract org.gradle.api.provider.ListProperty<String>
    Deterministic, sorted representation used for incrementality.
    abstract org.gradle.api.provider.Property<String>
    Hash.
    abstract org.gradle.api.file.ConfigurableFileCollection
    Get Input Files.
    abstract org.gradle.api.file.RegularFileProperty
    Get Output File.
    abstract org.gradle.api.provider.Property<String>
    Render mode.
    abstract org.gradle.api.provider.Property<String>
    Ytt Executable.
    static List<String>
    Called from plugin wiring to keep normalized list in sync with the map.
    void
    Run Ytt Task.

    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 org.gradle.api.Task

    doNotTrackState, notCompatibleWithConfigurationCache
  • Field Details

  • Constructor Details

    • AbstractYttRenderTask

      public AbstractYttRenderTask()
  • Method Details

    • normalizeDataValues

      public static List<String> normalizeDataValues(Map<String,String> map)
      Called from plugin wiring to keep normalized list in sync with the map.
      Parameters:
      map - Map
      Returns:
      List String
    • getDataValues

      @Internal public abstract org.gradle.api.provider.MapProperty<String,String> getDataValues()
      Keep the raw map INTERNAL to avoid non-deterministic iteration issues.
      Returns:
      MapProperty
    • getDataValuesNormalized

      @Input public abstract org.gradle.api.provider.ListProperty<String> getDataValuesNormalized()
      Deterministic, sorted representation used for incrementality.
      Returns:
      ListProperty
    • getHash

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getHash()
      Hash.
      Returns:
      Property
    • getInputFiles

      @InputFiles @PathSensitive(RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getInputFiles()
      Get Input Files.
      Returns:
      ConfigurableFileCollection
    • getOutputFile

      @OutputFile public abstract org.gradle.api.file.RegularFileProperty getOutputFile()
      Get Output File.
      Returns:
      RegularFileProperty
    • getRenderMode

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getRenderMode()
      Render mode.
      Returns:
      Property
    • getYttExecutable

      @Input public abstract org.gradle.api.provider.Property<String> getYttExecutable()
      Ytt Executable.
      Returns:
      Property
    • runYtt

      public void runYtt() throws Exception
      Run Ytt Task.
      Throws:
      Exception - Exception