@CacheableTask
public class TranslateSchemasTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
TranslateSchemasTask() |
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.file.FileCollection |
getCodegenClasspath() |
java.io.File |
getDestinationDir()
Directory to write the translated files.
|
SchemaFileType |
getDestinationFormat() |
java.io.File |
getInputDir()
Directory containing the data schema files to translate.
|
org.gradle.api.file.FileCollection |
getResolverPath()
The resolver path.
|
SchemaFileType |
getSourceFormat() |
void |
setCodegenClasspath(org.gradle.api.file.FileCollection codegenClasspath) |
void |
setDestinationDir(java.io.File destinationDir) |
void |
setDestinationFormat(SchemaFileType destinationFormat) |
void |
setInputDir(java.io.File inputDir) |
void |
setResolverPath(org.gradle.api.file.FileCollection resolverPath) |
void |
setSourceFormat(SchemaFileType sourceFormat) |
void |
translate() |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void translate()
@InputDirectory @SkipWhenEmpty @PathSensitive(value=RELATIVE) public java.io.File getInputDir()
public void setInputDir(java.io.File inputDir)
@Classpath public org.gradle.api.file.FileCollection getResolverPath()
public void setResolverPath(org.gradle.api.file.FileCollection resolverPath)
@Classpath public org.gradle.api.file.FileCollection getCodegenClasspath()
public void setCodegenClasspath(org.gradle.api.file.FileCollection codegenClasspath)
@OutputDirectory public java.io.File getDestinationDir()
public void setDestinationDir(java.io.File destinationDir)
@Internal public SchemaFileType getSourceFormat()
public void setSourceFormat(SchemaFileType sourceFormat)
@Internal public SchemaFileType getDestinationFormat()
public void setDestinationFormat(SchemaFileType destinationFormat)