@CacheableTask
public class FormatSourceTask
extends com.liferay.gradle.util.tasks.ExecuteJavaTask
| Constructor and Description |
|---|
FormatSourceTask(org.gradle.workers.WorkerExecutor workerExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getArgs() |
java.io.File |
getBaseDir() |
java.lang.String |
getBaseDirName() |
org.gradle.api.file.FileCollection |
getClasspath() |
java.util.List<java.lang.String> |
getFileExtensions() |
java.util.List<java.lang.String> |
getFileNames() |
org.gradle.api.file.FileCollection |
getFiles() |
java.lang.String |
getGitWorkingBranchName() |
protected java.lang.String |
getMain() |
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 |
setClasspath(org.gradle.api.file.FileCollection classpath) |
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) |
executeJava, getJvmArgs, getWorkerExecutor, isFork, jvmArgs, jvmArgs, setFork, setJvmArgs, setJvmArgsnewInputDirectory, 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, toString@Inject public FormatSourceTask(org.gradle.workers.WorkerExecutor workerExecutor)
public java.io.File getBaseDir()
public java.lang.String getBaseDirName()
public org.gradle.api.file.FileCollection getClasspath()
getClasspath in class com.liferay.gradle.util.tasks.ExecuteJavaTaskpublic 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 setClasspath(org.gradle.api.file.FileCollection classpath)
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)
protected java.util.List<java.lang.String> getArgs()
getArgs in class com.liferay.gradle.util.tasks.ExecuteJavaTaskprotected java.lang.String getMain()
getMain in class com.liferay.gradle.util.tasks.ExecuteJavaTask