Class CustomEntryPoint
- java.lang.Object
-
- com.casper.sdk.model.transaction.entrypoint.TransactionEntryPoint
-
- com.casper.sdk.model.transaction.entrypoint.CustomEntryPoint
-
- All Implemented Interfaces:
CasperSerializableObject,Tag,SerializableObject
public class CustomEntryPoint extends TransactionEntryPoint
A non-native, arbitrary entry point.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomEntryPoint.CustomEntryPointBuilder
-
Field Summary
-
Fields inherited from class com.casper.sdk.model.transaction.entrypoint.TransactionEntryPoint
ACTIVATE_BID_TAG, ADD_BID_TAG, ADD_RESERVATIONS_TAG, CALL_TAG, CANCEL_RESERVATIONS_TAG, CHANGE_BID_PUBLIC_KEY_TAG, CUSTOM_CUSTOM_INDEX, CUSTOM_TAG, DELEGATE_TAG, REDELEGATE_TAG, TAG_FIELD_INDEX, TRANSFER_TAG, UNDELEGATE_TAG, WITHDRAW_BID_TAG
-
-
Constructor Summary
Constructors Constructor Description CustomEntryPoint()CustomEntryPoint(java.lang.String custom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomEntryPoint.CustomEntryPointBuilderbuilder()java.lang.StringgetCustom()voidserialize(SerializerBuffer ser, Target target)Called when the object's values must be serializedvoidsetCustom(java.lang.String custom)java.lang.StringtoString()-
Methods inherited from class com.casper.sdk.model.transaction.entrypoint.TransactionEntryPoint
canEqual, equals, getByteTag, getName, getTag, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Method Detail
-
serialize
public void serialize(SerializerBuffer ser, Target target) throws ValueSerializationException, NoSuchTypeException
Description copied from interface:CasperSerializableObjectCalled when the object's values must be serialized- Specified by:
serializein interfaceCasperSerializableObject- Overrides:
serializein classTransactionEntryPoint- Parameters:
ser- the serializer to be usedtarget- target serialization standard- Throws:
ValueSerializationException- exception holding information of failure to serialize a valueNoSuchTypeException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classTransactionEntryPoint
-
builder
public static CustomEntryPoint.CustomEntryPointBuilder builder()
-
getCustom
public java.lang.String getCustom()
-
setCustom
public void setCustom(java.lang.String custom)
-
-