Package com.batch.android.core
Enum URLBuilder.CryptorMode
- java.lang.Object
-
- java.lang.Enum<URLBuilder.CryptorMode>
-
- com.batch.android.core.URLBuilder.CryptorMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<URLBuilder.CryptorMode>
- Enclosing class:
- URLBuilder
public static enum URLBuilder.CryptorMode extends java.lang.Enum<URLBuilder.CryptorMode>
Mode to crypt get parameters
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static URLBuilder.CryptorModefromValue(int value)Found the mode for the given valueintgetValue()Return the value of this modestatic URLBuilder.CryptorModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static URLBuilder.CryptorMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final URLBuilder.CryptorMode ALL
Crypt everything into a parameter named o
-
VALUE
public static final URLBuilder.CryptorMode VALUE
Crypt only values of parameters
-
EACH
public static final URLBuilder.CryptorMode EACH
Crypt values & key of parameters
-
-
Method Detail
-
values
public static URLBuilder.CryptorMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (URLBuilder.CryptorMode c : URLBuilder.CryptorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static URLBuilder.CryptorMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
Return the value of this mode- Returns:
-
fromValue
public static URLBuilder.CryptorMode fromValue(int value)
Found the mode for the given value- Parameters:
value-- Returns:
- the mode if found, null otherwise
-
-