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() |
protected java.util.List<java.lang.String> |
getCompleteArgs() |
java.io.File |
getCopyrightFile() |
java.lang.String |
getCopyrightFileName() |
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 |
isThrowException() |
boolean |
isUseProperties() |
void |
setAutoFix(boolean autoFix) |
void |
setBaseDirName(java.lang.String baseDirName) |
void |
setCopyrightFileName(java.lang.String copyrightFileName) |
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 |
setThrowException(boolean throwException) |
void |
setUseProperties(boolean useProperties) |
args, args, bootstrapClasspath, classpath, copyTo, copyTo, environment, environment, executable, getAllJvmArgs, getArgs, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecutable, getFileResolver, getJvmArgs, getMain, getMaxHeapSize, getMinHeapSize, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setArgs, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setIgnoreExitValue, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, systemProperties, systemProperty, workingDirconventionMapping, conventionMapping, getConventionMappingaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, 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, setName, setOnlyIf, setOnlyIf, setProject, 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.io.File getCopyrightFile()
public java.lang.String getCopyrightFileName()
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 isThrowException()
public boolean isUseProperties()
public void setAutoFix(boolean autoFix)
public void setBaseDirName(java.lang.String baseDirName)
public void setCopyrightFileName(java.lang.String copyrightFileName)
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 setThrowException(boolean throwException)
public void setUseProperties(boolean useProperties)
protected java.util.List<java.lang.String> getCompleteArgs()