source: protocol/src/main/java/geniusweb/protocol/tournament/TournamentState.java@ 52

Last change on this file since 52 was 52, checked in by ruud, 14 months ago

Fixed small issues in domaineditor.

File size: 1.0 KB
Line 
1package geniusweb.protocol.tournament;
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.JsonSubTypes.Type;
7
8import geniusweb.protocol.NegoState;
9import geniusweb.protocol.tournament.allpermutations.AllPermutationsState;
10import geniusweb.protocol.tournament.allpermutationslearn.AllPermutationsLearnState;
11
12/**
13 * The current state of the tournament. Must be implement Json serialization so
14 * that it can be used to log the state. State must contain all information to
15 * determine the relevant info of the negotiation. It may also be used to
16 * restart the nego if a crash occurs.
17 */
18@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
19@JsonSubTypes({ @Type(value = AllPermutationsState.class),
20 @Type(value = AllPermutationsLearnState.class) })
21public interface TournamentState extends NegoState {
22
23}
Note: See TracBrowser for help on using the repository browser.