Package | Description |
---|---|
net.morimekta.providence.descriptor | |
net.morimekta.providence.util |
Modifier and Type | Class and Description |
---|---|
class |
PEnumDescriptor<T extends PEnumValue<T>>
The definition of a thrift enum.
|
class |
PExceptionDescriptor<Exception extends PMessage<Exception,Field>,Field extends PField>
The definition of a thrift exception.
|
class |
PMessageDescriptor<T extends PMessage<T,F>,F extends PField>
Descriptor base class for all messages.
|
class |
PStructDescriptor<T extends PMessage<T,F>,F extends PField>
The definition of a thrift structure.
|
class |
PUnionDescriptor<T extends PMessage<T,F>,F extends PField>
The definition of a thrift union.
|
Modifier and Type | Method and Description |
---|---|
default <T extends PDeclaredDescriptor<T>> |
TypeRegistry.getDeclaredType(String typeName)
Get a declared type by its qualified type name.
|
<T extends PDeclaredDescriptor<T>> |
SimpleTypeRegistry.getDeclaredType(String typeName,
String programContext) |
<T extends PDeclaredDescriptor<T>> |
TypeRegistry.getDeclaredType(String typeName,
String programContext)
Get the declared type with the given name and program context.
|
Modifier and Type | Method and Description |
---|---|
<T> boolean |
SimpleTypeRegistry.register(PDeclaredDescriptor<T> declaredType) |
<T> boolean |
WritableTypeRegistry.register(PDeclaredDescriptor<T> declaredType)
Register a declared type.
|
<T> void |
WritableTypeRegistry.registerRecursively(PDeclaredDescriptor<T> declaredType)
Register a declared type recursively.
|
<T> void |
BaseTypeRegistry.registerRecursively(PDeclaredDescriptor<T> declaredType) |
Copyright © 2015–2018 morimekta.net. All rights reserved.