public class AbstractTask
extends org.gradle.api.DefaultTask
| 修飾子とタイプ | フィールドと説明 |
|---|---|
boolean |
debug |
boolean |
enabled |
java.lang.String |
pathSrc |
java.lang.String |
rootProject |
| コンストラクタと説明 |
|---|
AbstractTask() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected java.lang.String |
backupDir()
Return the file path of 'backup' directory of the current project
|
protected boolean |
backupDirExists()
Check if 'backup' directory exists or not
|
protected boolean |
checkSCM()
Check if an SCM (Source Code Management) tool is setup or not not.
|
protected boolean |
createBackupDir()
Create the 'backup' directory (with .gitignore config file)
|
protected java.util.Collection<java.io.File> |
getAllJavaFiles()
Return the collection of all JAVA files (*.java) found in the app source folder
|
protected java.util.Collection<java.io.File> |
getAllXmlFiles()
Return the collection of all XML files (*.xml) found in the app source folder
|
protected boolean |
isGmaeniFile(java.io.File srcFile)
Check if file if Gmaeni file
|
protected boolean |
isGmaenitized(java.io.File srcFile)
Check if the JAVA file contains Gmaeni code
|
protected void |
removeBackupDir()
Remove the existing 'backup' directory
|
newInputDirectory, 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 boolean enabled
public boolean debug
public java.lang.String rootProject
public java.lang.String pathSrc
@Internal protected java.util.Collection<java.io.File> getAllJavaFiles()
@Internal protected java.util.Collection<java.io.File> getAllXmlFiles()
protected boolean checkSCM()
protected java.lang.String backupDir()
protected boolean backupDirExists()
protected void removeBackupDir()
throws java.io.IOException
java.io.IOException - If an I/O exceptionprotected boolean createBackupDir()
throws java.io.IOException
java.io.IOException - If an I/O exceptionprotected boolean isGmaeniFile(java.io.File srcFile)
srcFile - JAVA file to testprotected boolean isGmaenitized(java.io.File srcFile)
throws java.io.IOException
srcFile - JAVA file to testjava.io.IOException - If an I/O exception