I - represents the input typeM - represents the metadata type@Portable public class MarshallingRequest<I,M extends Metadata> extends Object
MarshallingRequest.Mode that represents how the marshaller should handle errors and exceptions.| Modifier and Type | Class and Description |
|---|---|
static class |
MarshallingRequest.MarshallingRequestBuilder<I,M extends Metadata> |
static class |
MarshallingRequest.Mode
Mode of the marshalling process
ERROR:
- return errors when it has unsupported nodes
- return ERROR messages
AUTO:
- try to adapt and convert unsupported nodes to generic ones
- return warn messages
- ignore unsupported nodes that doesn't have options to be converted
IGNORE:
- remove all unsupported nodes and relationships to them
- warn messages
|
| Constructor and Description |
|---|
MarshallingRequest(I input,
M metadata,
MarshallingRequest.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
static <I,M extends Metadata> |
builder() |
boolean |
equals(Object o) |
I |
getInput() |
M |
getMetadata() |
MarshallingRequest.Mode |
getMode() |
int |
hashCode() |
String |
toString() |
public MarshallingRequest(I input, M metadata, MarshallingRequest.Mode mode)
public I getInput()
public M getMetadata()
public MarshallingRequest.Mode getMode()
public static <I,M extends Metadata> MarshallingRequest.MarshallingRequestBuilder<I,M> builder()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.