Refactor/to x content fragments2 (#2329)

* Moves more classes over to ToXContentObject/Fragment

* Removes ToXContentToBytes

* Removes ToXContent from Enums

* review comment fix

* slight change to use XContantHelper
This commit is contained in:
Colin Goodheart-Smithe 2017-08-23 08:17:28 +01:00 committed by Martijn van Groningen
parent 7313ad5b29
commit 1c489ee867
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@
package org.elasticsearch.persistent; package org.elasticsearch.persistent;
import org.elasticsearch.common.io.stream.NamedWriteable; import org.elasticsearch.common.io.stream.NamedWriteable;
import org.elasticsearch.common.xcontent.ToXContent; import org.elasticsearch.common.xcontent.ToXContentObject;
/** /**
* Parameters used to start persistent task * Parameters used to start persistent task
*/ */
public interface PersistentTaskParams extends NamedWriteable, ToXContent { public interface PersistentTaskParams extends NamedWriteable, ToXContentObject {
} }