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 the {@link 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 | @JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
|
---|
20 | public interface Inform {
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.