source: events/src/main/java/geniusweb/actions/EndNegotiation.java@ 8

Last change on this file since 8 was 1, checked in by bart, 5 years ago

Initial Release

File size: 533 bytes
Line 
1package geniusweb.actions;
2
3import com.fasterxml.jackson.annotation.JsonCreator;
4import com.fasterxml.jackson.annotation.JsonProperty;
5import com.fasterxml.jackson.annotation.JsonTypeName;
6
7/**
8 * Indicates that a party turns away from the negotiation and.
9 *
10 */
11@JsonTypeName("endnegotiation")
12public class EndNegotiation extends AbstractAction {
13
14 @JsonCreator
15 public EndNegotiation(@JsonProperty("actor") PartyId id) {
16 super(id);
17 }
18
19 @Override
20 public String toString() {
21 return "EndNegotiation[" + getActor() + "]";
22 }
23
24}
Note: See TracBrowser for help on using the repository browser.