java.io.Serializablepublic class PatcherProject
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
doesGenPatches() |
|
void |
generateFrom(PatcherProject patcher) |
The project from witch the patches for this project will be generated.
|
void |
genPatchesFrom(java.lang.String generateFrom) |
The project from witch the patches for this project will be generated.
|
java.lang.String |
getCapName() |
|
protected groovy.lang.Closure<java.io.File> |
getDelayedPatchDir() |
|
protected groovy.lang.Closure<java.io.File> |
getDelayedResourcesDir() |
|
protected groovy.lang.Closure<java.io.File> |
getDelayedSourcesDir() |
|
protected groovy.lang.Closure<java.io.File> |
getDelayedTestResourcesDir() |
|
protected groovy.lang.Closure<java.io.File> |
getDelayedTestSourcesDir() |
|
java.lang.String |
getGenPatchesFrom() |
|
java.lang.String |
getPatchAfter() |
|
boolean |
isApplyMcpPatches() |
|
boolean |
isGenMcpPatches() |
|
boolean |
isS2sKeepImports() |
|
void |
patchAfter(java.lang.String patchAfter) |
Sets the project after which this project will apply its patches
All patches apply on top of the clean project anyways.
|
void |
patchAfter(PatcherProject patcher) |
Sets the project after which this project will apply its patches
All patches apply on top of the clean project anyways.
|
void |
patchDir(java.lang.Object patchDir) |
The directory where the patches are found, and to witch generated patches should be saved.
|
void |
resourcesDir(java.lang.Object resourcesDir) |
The directory where the non-patch resources for this project are.
|
void |
rootDir(java.lang.Object rootDir) |
The root directory of the project.
|
void |
setApplyMcpPatches(boolean applyMcpPatches) |
|
void |
setGenMcpPatches(boolean genMcpPatches) |
|
void |
setS2sKeepImports(boolean value) |
|
void |
setTestSourcesDir(java.lang.Object testSourcesDir) |
The directory where the test sourcess for this project are.
|
void |
sourcesDir(java.lang.Object sourcesDir) |
The directory where the non-patch sources for this project are.
|
void |
testResourcesDir(java.lang.Object testResourcesDir) |
The directory where the non-patch resources for this project are.
|
void |
testSourcesDir(java.lang.Object testSourcesDir) |
The directory where the test sourcess for this project are.
|
protected void |
validate() |
Validates the object to ensure its been configured correctly and isnt missing something.
|
public java.lang.String getCapName()
public java.lang.String getPatchAfter()
public void patchAfter(java.lang.String patchAfter)
patchAfter - project to patch afterpublic void patchAfter(PatcherProject patcher)
patcher - project to patch afterpublic java.lang.String getGenPatchesFrom()
public void genPatchesFrom(java.lang.String generateFrom)
generateFrom - Project to generate patches fromprotected boolean doesGenPatches()
public void generateFrom(PatcherProject patcher)
patcher - Project to generate patches frompublic void rootDir(java.lang.Object rootDir)
rootDir - root directory of the projectpublic void patchDir(java.lang.Object patchDir)
patchDir - patch directory of the projectpublic void sourcesDir(java.lang.Object sourcesDir)
sourcesDir - non-MC source directory of the projectpublic void resourcesDir(java.lang.Object resourcesDir)
resourcesDir - non-MC resource directory of the projectpublic void setTestSourcesDir(java.lang.Object testSourcesDir)
testSourcesDir - test source directory of the projectpublic void testSourcesDir(java.lang.Object testSourcesDir)
testSourcesDir - test source directory of the projectpublic void testResourcesDir(java.lang.Object testResourcesDir)
testResourcesDir - test resource directory of the projectprotected void validate()
public boolean isGenMcpPatches()
public void setGenMcpPatches(boolean genMcpPatches)
public boolean isApplyMcpPatches()
public void setApplyMcpPatches(boolean applyMcpPatches)
public boolean isS2sKeepImports()
public void setS2sKeepImports(boolean value)
protected groovy.lang.Closure<java.io.File> getDelayedSourcesDir()
protected groovy.lang.Closure<java.io.File> getDelayedResourcesDir()
protected groovy.lang.Closure<java.io.File> getDelayedTestSourcesDir()
protected groovy.lang.Closure<java.io.File> getDelayedTestResourcesDir()
protected groovy.lang.Closure<java.io.File> getDelayedPatchDir()