Enum TransformTypeData
- java.lang.Object
-
- java.lang.Enum<TransformTypeData>
-
- com.casper.sdk.model.deploy.transform.TransformTypeData
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TransformTypeData>
public enum TransformTypeData extends java.lang.Enum<TransformTypeData>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENUM_CONTRENUM_CONTR_PKGENUM_CONTR_WASMENUM_IDFAILUREWRITE_ACCOUNTWRITE_ADDI32WRITE_ADDKEYSWRITE_ADDU128WRITE_ADDU256WRITE_ADDU512WRITE_ADDU64WRITE_BIDWRITE_CLVALUEWRITE_DEPLOY_INFOWRITE_ERA_INFOWRITE_TRANSFERWRITE_WITHDRAW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<?>getClassByName(java.lang.String name)Retrieve Transform implementation class from Transform namejava.lang.Class<?>getClazz()java.lang.StringgetName()static TransformTypeDatavalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TransformTypeData[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRITE_ADDI32
public static final TransformTypeData WRITE_ADDI32
-
WRITE_ADDKEYS
public static final TransformTypeData WRITE_ADDKEYS
-
WRITE_ADDU64
public static final TransformTypeData WRITE_ADDU64
-
WRITE_ADDU128
public static final TransformTypeData WRITE_ADDU128
-
WRITE_ADDU256
public static final TransformTypeData WRITE_ADDU256
-
WRITE_ADDU512
public static final TransformTypeData WRITE_ADDU512
-
FAILURE
public static final TransformTypeData FAILURE
-
WRITE_ACCOUNT
public static final TransformTypeData WRITE_ACCOUNT
-
WRITE_BID
public static final TransformTypeData WRITE_BID
-
WRITE_CLVALUE
public static final TransformTypeData WRITE_CLVALUE
-
ENUM_ID
public static final TransformTypeData ENUM_ID
-
ENUM_CONTR_WASM
public static final TransformTypeData ENUM_CONTR_WASM
-
ENUM_CONTR
public static final TransformTypeData ENUM_CONTR
-
ENUM_CONTR_PKG
public static final TransformTypeData ENUM_CONTR_PKG
-
WRITE_DEPLOY_INFO
public static final TransformTypeData WRITE_DEPLOY_INFO
-
WRITE_ERA_INFO
public static final TransformTypeData WRITE_ERA_INFO
-
WRITE_TRANSFER
public static final TransformTypeData WRITE_TRANSFER
-
WRITE_WITHDRAW
public static final TransformTypeData WRITE_WITHDRAW
-
-
Method Detail
-
values
public static TransformTypeData[] 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 (TransformTypeData c : TransformTypeData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransformTypeData 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
-
getClassByName
public static java.lang.Class<?> getClassByName(java.lang.String name) throws NoSuchTypeExceptionRetrieve Transform implementation class from Transform name- Parameters:
name-TransformTypeDataclass name- Returns:
- the class object for the
TransformTypeData - Throws:
NoSuchTypeException- if no type is found for given name
-
getName
public java.lang.String getName()
-
getClazz
public java.lang.Class<?> getClazz()
-
-