@Target([AnnotationTarget.CLASS]) annotation class CordaSerializationTransformEnumDefault
This annotation is used to mark an enumerated type as having had a new constant appended to it. For each additional constant added a new annotation should be appended to the class. If more than one is required the wrapper annotation CordaSerializationTransformEnumDefaults should be used to encapsulate them
CordaSerializationTransformEnumDefault(new: String, old: String)
This annotation is used to mark an enumerated type as having had a new constant appended to it. For each additional constant added a new annotation should be appended to the class. If more than one is required the wrapper annotation CordaSerializationTransformEnumDefaults should be used to encapsulate them |
val new: String
String equivalent of the value of the new constant |
|
val old: String
String equivalent of the value of the existing constant that deserialisers should favour when de-serialising a value they have no corresponding value for |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |