public static enum JarResigner.Strategy extends java.lang.Enum<JarResigner.Strategy>
Enum Constant and Description |
---|
DO_NOT_RESIGN |
OVERWRITE |
OVERWRITE_WITH_SAME_DIGEST_ALGORITHM |
RESIGN |
RESIGN_WITH_SAME_DIGEST_ALGORITHM |
THROW_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
static JarResigner.Strategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JarResigner.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JarResigner.Strategy DO_NOT_RESIGN
public static final JarResigner.Strategy THROW_EXCEPTION
public static final JarResigner.Strategy RESIGN
public static final JarResigner.Strategy RESIGN_WITH_SAME_DIGEST_ALGORITHM
public static final JarResigner.Strategy OVERWRITE
public static final JarResigner.Strategy OVERWRITE_WITH_SAME_DIGEST_ALGORITHM
public static JarResigner.Strategy[] values()
for (JarResigner.Strategy c : JarResigner.Strategy.values()) System.out.println(c);
public static JarResigner.Strategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null