Package com.formkiq.gradle
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
FieldsModifier and TypeFieldDescriptionstatic final StringSubstitute data values without invoking ytt.static final StringRender 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 -
Method Summary
Modifier and TypeMethodDescriptionKeep 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>getHash()Hash.abstract org.gradle.api.file.ConfigurableFileCollectionGet Input Files.abstract org.gradle.api.file.RegularFilePropertyGet Output File.abstract org.gradle.api.provider.Property<String>Render mode.abstract org.gradle.api.provider.Property<String>Ytt Executable.normalizeDataValues(Map<String, String> map) Called from plugin wiring to keep normalized list in sync with the map.voidrunYtt()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, usesServiceMethods 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, setImpliesSubProjectsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.Task
doNotTrackState, notCompatibleWithConfigurationCache
-
Field Details
-
RENDER_MODE_YTT
Render using ytt.- See Also:
-
RENDER_MODE_SUBSTITUTE
Substitute data values without invoking ytt.- See Also:
-
-
Constructor Details
-
AbstractYttRenderTask
public AbstractYttRenderTask()
-
-
Method Details
-
normalizeDataValues
Called from plugin wiring to keep normalized list in sync with the map. -
getDataValues
Keep the raw map INTERNAL to avoid non-deterministic iteration issues.- Returns:
MapProperty
-
getDataValuesNormalized
Deterministic, sorted representation used for incrementality.- Returns:
ListProperty
-
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
Render mode.- Returns:
Property
-
getYttExecutable
Ytt Executable.- Returns:
Property
-
runYtt
Run Ytt Task.- Throws:
Exception- Exception
-