public class TaskReformatCode extends AbstractEditJarTask
| Constructor | Description |
|---|---|
TaskReformatCode() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
asRead(java.lang.String name,
java.lang.String file) |
Called as the .java files of the jar are read from the jar
|
void |
doStuffAfter() |
Do Stuff after the jar is Written
|
void |
doStuffBefore() |
Do Stuff before the jar is read
|
void |
doStuffMiddle(java.util.Map<java.lang.String,java.lang.String> sourceMap,
java.util.Map<java.lang.String,byte[]> resourceMap) |
Do Stuff after the jar is read, but before it is written.
|
protected boolean |
storeJarInRam() |
Whether to store the contents of the jar in RAM.
|
doTask, setInJar, setOutJaraddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringcacheClassHash, defaultCache, doesCache, setDoesCachenewInputDirectory, newInputFile, newOutputDirectory, newOutputFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, hasProperty, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfterpublic void doStuffBefore()
AbstractEditJarTaskdoStuffBefore in class AbstractEditJarTaskpublic java.lang.String asRead(java.lang.String name,
java.lang.String file)
throws java.lang.Exception
AbstractEditJarTaskasRead in class AbstractEditJarTaskname - name of the current entryfile - current contents of the entryjava.lang.Exception - as a convenience for any potential exceptions thrown in this methodpublic void doStuffMiddle(java.util.Map<java.lang.String,java.lang.String> sourceMap,
java.util.Map<java.lang.String,byte[]> resourceMap)
AbstractEditJarTaskdoStuffMiddle in class AbstractEditJarTasksourceMap - name->contents for all java files in the jarresourceMap - name->contents for everything elsepublic void doStuffAfter()
AbstractEditJarTaskdoStuffAfter in class AbstractEditJarTaskprotected boolean storeJarInRam()
AbstractEditJarTaskstoreJarInRam in class AbstractEditJarTask