Package | Description |
---|---|
net.morimekta.providence.descriptor | |
net.morimekta.providence.types |
Modifier and Type | Class and Description |
---|---|
class |
PEnumDescriptor<T extends PEnumValue<T>>
The definition of a thrift enum.
|
class |
PExceptionDescriptor<Ex extends PMessage<Ex>>
The definition of a thrift exception.
|
class |
PInterfaceDescriptor<T extends PMessage<T>>
The definition of a providence interface.
|
class |
PMessageDescriptor<T extends PMessage<T>>
Descriptor base class for all messages.
|
class |
PService
Descriptor for a complete service.
|
class |
PStructDescriptor<T extends PMessage<T>>
The definition of a thrift structure.
|
class |
PUnionDescriptor<T extends PMessage<T>>
The definition of a thrift union.
|
Modifier and Type | Method and Description |
---|---|
PDeclaredDescriptor |
TypeRegistry.requireDeclaredType(TypeReference reference)
Get the declared type with the given name and program context.
|
Modifier and Type | Method and Description |
---|---|
Optional<PDeclaredDescriptor<?>> |
SimpleTypeRegistry.getDeclaredType(TypeReference reference) |
abstract Optional<PDeclaredDescriptor<?>> |
TypeRegistry.getDeclaredType(TypeReference reference)
Get the declared type with the given name and program context.
|
List<PDeclaredDescriptor<?>> |
SimpleTypeRegistry.getDeclaredTypes() |
abstract List<PDeclaredDescriptor<?>> |
TypeRegistry.getDeclaredTypes() |
Modifier and Type | Method and Description |
---|---|
abstract <T> void |
WritableTypeRegistry.registerType(PDeclaredDescriptor<T> declaredType)
Register a declared type.
|
<T> void |
SimpleTypeRegistry.registerType(PDeclaredDescriptor<T> declaredType) |
Copyright © 2015–2020 morimekta.net. All rights reserved.