@CacheableTask
public class FormatSourceTask
extends org.gradle.api.tasks.JavaExec
| Constructor and Description |
|---|
FormatSourceTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
exec() |
java.io.File |
getBaseDir() |
java.lang.String |
getBaseDirName() |
java.util.List<java.lang.String> |
getFileExtensions() |
java.util.List<java.lang.String> |
getFileNames() |
org.gradle.api.file.FileCollection |
getFiles() |
java.lang.String |
getGitWorkingBranchName() |
int |
getMaxLineLength() |
int |
getProcessorThreadCount() |
boolean |
isAutoFix() |
boolean |
isFormatCurrentBranch() |
boolean |
isFormatLatestAuthor() |
boolean |
isFormatLocalChanges() |
boolean |
isIncludeSubrepositories() |
boolean |
isPrintErrors() |
boolean |
isShowDebugInformation() |
boolean |
isShowDocumentation() |
boolean |
isShowStatusUpdates() |
boolean |
isThrowException() |
void |
setAutoFix(boolean autoFix) |
void |
setBaseDirName(java.lang.String baseDirName) |
void |
setFileExtensions(java.lang.Iterable<java.lang.String> fileExtensions) |
void |
setFileExtensions(java.lang.String... fileExtensions) |
void |
setFileNames(java.lang.Iterable<java.lang.String> fileNames) |
void |
setFileNames(java.lang.String... fileNames) |
void |
setFormatCurrentBranch(boolean formatCurrentBranch) |
void |
setFormatLatestAuthor(boolean formatLatestAuthor) |
void |
setFormatLocalChanges(boolean formatLocalChanges) |
void |
setGitWorkingBranchName(java.lang.String gitWorkingBranchName) |
void |
setIncludeSubrepositories(boolean includeSubrepositories) |
void |
setMaxLineLength(int maxLineLength) |
void |
setPrintErrors(boolean printErrors) |
void |
setProcessorThreadCount(int processorThreadCount) |
void |
setShowDebugInformation(boolean showDebugInformation) |
void |
setShowDocumentation(boolean showDocumentation) |
void |
setShowStatusUpdates(boolean showStatusUpdates) |
void |
setThrowException(boolean throwException) |
args, args, bootstrapClasspath, classpath, copyTo, copyTo, debugOptions, environment, environment, executable, getAllJvmArgs, getArgs, getArgumentProviders, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDebugOptions, getDefaultCharacterEncoding, getDslExecActionFactory, getEnableAssertions, getEnvironment, getErrorOutput, getExecActionFactory, getExecutable, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getMain, getMaxHeapSize, getMinHeapSize, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setAllJvmArgs, setArgs, setArgs, setArgsString, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setExecutable, setIgnoreExitValue, setJvmArgs, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, setWorkingDir, systemProperties, systemProperty, workingDirconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void exec()
exec in class org.gradle.api.tasks.JavaExecpublic java.io.File getBaseDir()
public java.lang.String getBaseDirName()
public java.util.List<java.lang.String> getFileExtensions()
public java.util.List<java.lang.String> getFileNames()
public org.gradle.api.file.FileCollection getFiles()
public java.lang.String getGitWorkingBranchName()
public int getMaxLineLength()
public int getProcessorThreadCount()
public boolean isAutoFix()
public boolean isFormatCurrentBranch()
public boolean isFormatLatestAuthor()
public boolean isFormatLocalChanges()
public boolean isIncludeSubrepositories()
public boolean isPrintErrors()
public boolean isShowDebugInformation()
public boolean isShowDocumentation()
public boolean isShowStatusUpdates()
public boolean isThrowException()
public void setAutoFix(boolean autoFix)
public void setBaseDirName(java.lang.String baseDirName)
public void setFileExtensions(java.lang.Iterable<java.lang.String> fileExtensions)
public void setFileExtensions(java.lang.String... fileExtensions)
public void setFileNames(java.lang.Iterable<java.lang.String> fileNames)
public void setFileNames(java.lang.String... fileNames)
public void setFormatCurrentBranch(boolean formatCurrentBranch)
public void setFormatLatestAuthor(boolean formatLatestAuthor)
public void setFormatLocalChanges(boolean formatLocalChanges)
public void setGitWorkingBranchName(java.lang.String gitWorkingBranchName)
public void setIncludeSubrepositories(boolean includeSubrepositories)
public void setMaxLineLength(int maxLineLength)
public void setPrintErrors(boolean printErrors)
public void setProcessorThreadCount(int processorThreadCount)
public void setShowDebugInformation(boolean showDebugInformation)
public void setShowDocumentation(boolean showDocumentation)
public void setShowStatusUpdates(boolean showStatusUpdates)
public void setThrowException(boolean throwException)