public class ReobfTaskFactory.ReobfTaskWrapper extends java.lang.Object implements IReobfuscator
| Constructor and Description |
|---|
ReobfTaskFactory.ReobfTaskWrapper(java.lang.String name,
TaskSingleReobf reobf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
void |
extraFiles(java.lang.Iterable<java.lang.Object> o)
Adds a collection of additional srg files for reobfuscating.
|
void |
extraFiles(java.lang.Object... o)
Adds some additional srg files for reobfuscating.
|
void |
extraLines(java.lang.Iterable<java.lang.Object> o)
Adds a collection of additional srg lines for reobfuscating.
|
void |
extraLines(java.lang.Object... o)
Adds some additional srg lines for reobfuscating.
|
org.gradle.api.file.FileCollection |
getClasspath()
Gets the classpath used to reobfuscate.
|
java.util.List<java.lang.Object> |
getExtraFiles()
Gets the extra srg files.
|
java.util.List<java.lang.Object> |
getExtraLines()
Gets the extra srg lines and files.
|
java.io.File |
getMappings()
Gets the mappings file used to reobfuscate.
|
ReobfMappingType |
getMappingType()
Gets the mappings type.
|
java.lang.String |
getName() |
TaskSingleReobf |
getTask()
Returns the instance of
TaskSingleReobf that this object
wraps. |
void |
setClasspath(org.gradle.api.file.FileCollection classpath)
Sets the classpath used to reobfuscate.
|
void |
setExtraLines(java.util.List<java.lang.Object> extra)
Sets the extra lines.
|
void |
setMappings(java.lang.Object srg)
Sets the mappings file used to reobfuscate.
|
void |
setMappingType(ReobfMappingType type)
Sets the mapping type for easy access to searge or notch names.
|
void |
useNotchSrg()
Deprecated.
|
void |
useSrgSrg()
Deprecated.
|
public ReobfTaskFactory.ReobfTaskWrapper(java.lang.String name,
TaskSingleReobf reobf)
public java.lang.String getName()
public TaskSingleReobf getTask()
TaskSingleReobf that this object
wraps.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.io.File getMappings()
IReobfuscatorFile or a String path for a DelayedFile.getMappings in interface IReobfuscatorpublic void setMappings(java.lang.Object srg)
IReobfuscatorFile.setMappings in interface IReobfuscatorsrg - The srg file or path to itpublic void setMappingType(ReobfMappingType type)
IReobfuscatorIReobfuscator.setMappings(Object).
// for notch names (vanilla) mappingType = "NOTCH" // or searge names (forge) mappingType = "SEARGE"
setMappingType in interface IReobfuscatortype - The mappingpublic ReobfMappingType getMappingType()
IReobfuscatorgetMappingType in interface IReobfuscatorpublic void setClasspath(org.gradle.api.file.FileCollection classpath)
IReobfuscatorclasspath += otherClasspath to add to it.setClasspath in interface IReobfuscatorclasspath - The new classpathpublic org.gradle.api.file.FileCollection getClasspath()
IReobfuscatorclasspath += otherClasspath to add to it.getClasspath in interface IReobfuscatorpublic void setExtraLines(java.util.List<java.lang.Object> extra)
IReobfuscatorIReobfuscator.extraLines(Object...) instead of setting the list manually.setExtraLines in interface IReobfuscatorextra - The list of srg linespublic java.util.List<java.lang.Object> getExtraLines()
IReobfuscatorIReobfuscator.extraLines(Object...) or extra += [] instead of setting
the list manually.getExtraLines in interface IReobfuscatorpublic void extraLines(java.lang.Iterable<java.lang.Object> o)
IReobfuscatorextraLines in interface IReobfuscatoro - The collection to addpublic void extraLines(java.lang.Object... o)
IReobfuscatorextraLines in interface IReobfuscatoro - The array to addpublic java.util.List<java.lang.Object> getExtraFiles()
IReobfuscatorIReobfuscator.extraFiles(Object...) instead of setting the list manually.getExtraFiles in interface IReobfuscatorpublic void extraFiles(java.lang.Iterable<java.lang.Object> o)
IReobfuscatorextraFiles in interface IReobfuscatoro - The collection to addpublic void extraFiles(java.lang.Object... o)
IReobfuscatorProject.file(Object)extraFiles in interface IReobfuscatoro - The array to add@Deprecated public void useSrgSrg()
IReobfuscatoruseSrgSrg in interface IReobfuscator@Deprecated public void useNotchSrg()
IReobfuscatoruseNotchSrg in interface IReobfuscator