public class ProcessSrcJarTask extends EditJarTask
CachedTask.Cached, CachedTask.ExcludedTask.NamerinJar, outJar, resourceMap, sourceMapTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
ProcessSrcJarTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStage(java.lang.String name,
DelayedFile patchDir) |
void |
addStage(java.lang.String name,
DelayedFile patchDir,
DelayedFile... injects) |
void |
applyPatchStage(java.lang.String stage,
FileCollection patchFiles) |
java.lang.String |
asRead(java.lang.String file) |
void |
doStuffAfter()
Do Stuff after the jar is Written
|
void |
doStuffBefore()
Do Stuff before the jar is read
|
void |
doStuffMiddle()
Do Stuff after the jar is read, but before it is written.
|
FileCollection |
getAllInjects() |
FileCollection |
getAllPatches() |
int |
getMaxFuzz() |
void |
setMaxFuzz(int maxFuzz) |
doTask, getInJar, getOutJar, getResourceMap, getSourceMap, setInJar, setOutJar, setResourceMap, setSourceMapdefaultCache, doesCache, setDoesCachecompareTo, 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, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCachepublic java.lang.String asRead(java.lang.String file)
asRead in class EditJarTaskpublic void doStuffBefore()
EditJarTaskdoStuffBefore in class EditJarTaskpublic void doStuffMiddle()
throws java.lang.Exception
EditJarTaskdoStuffMiddle in class EditJarTaskjava.lang.Exception - for conveniencepublic void applyPatchStage(java.lang.String stage,
FileCollection patchFiles)
throws java.lang.Exception
java.lang.Exception@InputFiles public FileCollection getAllPatches()
@InputFiles public FileCollection getAllInjects()
public void addStage(java.lang.String name,
DelayedFile patchDir,
DelayedFile... injects)
public void addStage(java.lang.String name,
DelayedFile patchDir)
public void doStuffAfter()
EditJarTaskdoStuffAfter in class EditJarTaskpublic int getMaxFuzz()
public void setMaxFuzz(int maxFuzz)