Package com.backblaze.b2.json
Class B2JsonUnionTypeMap
- java.lang.Object
-
- com.backblaze.b2.json.B2JsonUnionTypeMap
-
public class B2JsonUnionTypeMap extends java.lang.Object
Holds the mapping between type names and the classes used for them in a union type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
B2JsonUnionTypeMap.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2JsonUnionTypeMap.Builder
builder()
java.lang.String
getTypeNameOrNullForClass(java.lang.Class<?> clazz)
java.util.Map<java.lang.String,java.lang.Class<?>>
getTypeNameToClass()
-
-
-
Method Detail
-
getTypeNameToClass
public java.util.Map<java.lang.String,java.lang.Class<?>> getTypeNameToClass()
-
getTypeNameOrNullForClass
public java.lang.String getTypeNameOrNullForClass(java.lang.Class<?> clazz)
-
builder
public static B2JsonUnionTypeMap.Builder builder()
-
-