TaskAction: Add JsonSubType for LockTryAcquireAction

This commit is contained in:
Gian Merlino 2013-12-12 08:45:23 -08:00
parent b17dc6f744
commit f4a09d4ee3
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import java.io.IOException;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
@JsonSubTypes(value = {
@JsonSubTypes.Type(name = "lockAcquire", value = LockAcquireAction.class),
@JsonSubTypes.Type(name = "lockTryAcquire", value = LockTryAcquireAction.class),
@JsonSubTypes.Type(name = "lockList", value = LockListAction.class),
@JsonSubTypes.Type(name = "lockRelease", value = LockReleaseAction.class),
@JsonSubTypes.Type(name = "segmentInsertion", value = SegmentInsertAction.class),