@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> |
getCheckCategoryNames() |
java.util.List<java.lang.String> |
getCheckNames() |
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 |
isFailOnAutoFix() |
boolean |
isFailOnHasWarning() |
boolean |
isFormatCurrentBranch() |
boolean |
isFormatLatestAuthor() |
boolean |
isFormatLocalChanges() |
boolean |
isIncludeSubrepositories() |
boolean |
isPrintErrors() |
boolean |
isShowDebugInformation() |
boolean |
isShowDocumentation() |
boolean |
isShowStatusUpdates() |
boolean |
isValidateCommitMessages() |
void |
setAutoFix(boolean autoFix) |
void |
setBaseDirName(java.lang.String baseDirName) |
void |
setCheckCategoryNames(java.lang.Iterable<java.lang.String> checkCategoryNames) |
void |
setCheckCategoryNames(java.lang.String... checkCategoryNames) |
void |
setCheckNames(java.lang.Iterable<java.lang.String> checkNames) |
void |
setCheckNames(java.lang.String... checkNames) |
void |
setFailOnAutoFix(boolean failOnAutoFix) |
void |
setFailOnHasWarning(boolean failOnHasWarning) |
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 |
setValidateCommitMessages(boolean validateCommitMessages) |
args, args, bootstrapClasspath, classpath, copyTo, copyTo, debugOptions, environment, environment, executable, getAllJvmArgs, getArgs, getArgumentProviders, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDebugOptions, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecActionFactory, getExecutable, getExecutionResult, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getMain, getMainClass, getMainModule, getMaxHeapSize, getMinHeapSize, getModularity, getObjectFactory, getProviderFactory, 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, getConventionMappingcompareTo, 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, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, replaceLogger, setImpliesSubProjectspublic 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> getCheckCategoryNames()
public java.util.List<java.lang.String> getCheckNames()
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 isFailOnAutoFix()
public boolean isFailOnHasWarning()
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 isValidateCommitMessages()
public void setAutoFix(boolean autoFix)
public void setBaseDirName(java.lang.String baseDirName)
public void setCheckCategoryNames(java.lang.Iterable<java.lang.String> checkCategoryNames)
public void setCheckCategoryNames(java.lang.String... checkCategoryNames)
public void setCheckNames(java.lang.Iterable<java.lang.String> checkNames)
public void setCheckNames(java.lang.String... checkNames)
public void setFailOnAutoFix(boolean failOnAutoFix)
public void setFailOnHasWarning(boolean failOnHasWarning)
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 setValidateCommitMessages(boolean validateCommitMessages)