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 |
isJavaParserEnabled() |
boolean |
isPrintErrors() |
boolean |
isShowDebugInformation() |
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 |
setJavaParserEnabled(boolean javaParserEnabled) |
void |
setMaxLineLength(int maxLineLength) |
void |
setPrintErrors(boolean printErrors) |
void |
setProcessorThreadCount(int processorThreadCount) |
void |
setShowDebugInformation(boolean showDebugInformation) |
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, getJavaLauncher, 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, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectspublic void exec()
exec in class org.gradle.api.tasks.JavaExec@Internal public java.io.File getBaseDir()
@Input @Optional public java.lang.String getBaseDirName()
@Input @Optional public java.util.List<java.lang.String> getCheckCategoryNames()
@Input @Optional public java.util.List<java.lang.String> getCheckNames()
@Input @Optional public java.util.List<java.lang.String> getFileExtensions()
@Input @Optional public java.util.List<java.lang.String> getFileNames()
@InputFiles @Optional @PathSensitive(value=RELATIVE) public org.gradle.api.file.FileCollection getFiles()
@Input @Optional public java.lang.String getGitWorkingBranchName()
@Input public int getMaxLineLength()
@Input public int getProcessorThreadCount()
@Input public boolean isAutoFix()
@Input public boolean isFailOnAutoFix()
@Input public boolean isFailOnHasWarning()
@Input public boolean isFormatCurrentBranch()
@Input public boolean isFormatLatestAuthor()
@Input public boolean isFormatLocalChanges()
@Input public boolean isIncludeSubrepositories()
@Input public boolean isJavaParserEnabled()
@Input public boolean isPrintErrors()
@Input public boolean isShowDebugInformation()
@Input 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 setJavaParserEnabled(boolean javaParserEnabled)
public void setMaxLineLength(int maxLineLength)
public void setPrintErrors(boolean printErrors)
public void setProcessorThreadCount(int processorThreadCount)
public void setShowDebugInformation(boolean showDebugInformation)
public void setValidateCommitMessages(boolean validateCommitMessages)