|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ant.ConditionalElement
de.enough.polish.ant.Setting
de.enough.polish.ExtensionSetting
de.enough.polish.ant.build.ObfuscatorSetting
public class ObfuscatorSetting
Containts information about the obfuscator which should be used.
Can be used for a more detailed setting than just using the <build>attributes "obfuscator" and "obfuscate".
Copyright Enough Software 2004 - 2011
history
23-Feb-2004 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ExtensionSetting |
|---|
className, classPath, name, target |
| Constructor Summary | |
|---|---|
ObfuscatorSetting()
Creates a new empty obfuscator setting. |
|
| Method Summary | |
|---|---|
void |
addConfiguredKeep(Keep keep)
|
void |
addConfiguredPreserve(Keep keep)
|
String[] |
getPreserveClassNames()
Retrieves the names of classes which should not be obfuscated. |
boolean |
hasKeepDefinitions()
|
boolean |
isEnabled()
|
boolean |
renameMidlets()
Determines whether the MIDlet classes should be renamed to short "A", "B", "C" etc. |
void |
setEnable(boolean enable)
|
void |
setRenameMidlets(boolean renameMidlets)
Sets whether the midlet-classes should be renamed |
void |
setUseDefaultPackage(boolean useDefaultPackage)
Sets whether all classes should be moved into the default package (""). |
| Methods inherited from class de.enough.polish.ExtensionSetting |
|---|
getClassName, getClassPath, getName, getParameter, getTarget, setClass, setClassPath, setName, setTarget |
| Methods inherited from class de.enough.polish.ant.Setting |
|---|
addConfiguredParameter, getAllParameters, getParameters, hasParameters |
| Methods inherited from class de.enough.polish.ant.ConditionalElement |
|---|
getCondition, getIf, getUnless, isActive, isActive, isActive, isActive, setIf, setUnless |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObfuscatorSetting()
| Method Detail |
|---|
public void addConfiguredKeep(Keep keep)
public void addConfiguredPreserve(Keep keep)
public void setEnable(boolean enable)
public boolean isEnabled()
public boolean hasKeepDefinitions()
public String[] getPreserveClassNames()
public boolean renameMidlets()
public void setRenameMidlets(boolean renameMidlets)
renameMidlets - true when the midlet-classes should be renamed.public void setUseDefaultPackage(boolean useDefaultPackage)
useDefaultPackage - true when all classes should be moved into the default package.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||