Line | |
---|
1 | package geniusweb.inform;
|
---|
2 |
|
---|
3 | import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
---|
4 | import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
|
---|
5 | import com.fasterxml.jackson.annotation.JsonSubTypes;
|
---|
6 | import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * base class of all information sent to a Party
|
---|
10 | */
|
---|
11 | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.WRAPPER_OBJECT)
|
---|
12 | @JsonSubTypes({ @JsonSubTypes.Type(value = ActionDone.class),
|
---|
13 | @JsonSubTypes.Type(value = Inform.class),
|
---|
14 | @JsonSubTypes.Type(value = Settings.class),
|
---|
15 | @JsonSubTypes.Type(value = Finished.class),
|
---|
16 | @JsonSubTypes.Type(value = YourTurn.class),
|
---|
17 | @JsonSubTypes.Type(value = Voting.class),
|
---|
18 | @JsonSubTypes.Type(value = OptIn.class),
|
---|
19 | @JsonSubTypes.Type(value = OptInWithValue.class) })
|
---|
20 | @JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
|
---|
21 | public interface Inform {
|
---|
22 |
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.