public static interface AllocationCommand.Parser<T extends AllocationCommand>
Modifier and Type | Method and Description |
---|---|
T |
fromXContent(XContentParser parser)
|
T fromXContent(XContentParser parser) throws java.io.IOException
parser
- XContentParser
to useAllocationCommand
readjava.io.IOException
- if something happens during reading