source: events/src/main/java/geniusweb/inform/Inform.java@ 22

Last change on this file since 22 was 21, checked in by bart, 4 years ago

Version 1.5.

File size: 894 bytes
Line 
1package geniusweb.inform;
2
3import com.fasterxml.jackson.annotation.JsonAutoDetect;
4import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
5import com.fasterxml.jackson.annotation.JsonSubTypes;
6import 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)
20public interface Inform {
21
22}
Note: See TracBrowser for help on using the repository browser.