Last change
on this file since 26 was 26, checked in by bart, 4 years ago |
Voting requests now contain Offers. Fixed windows whitespace issue. Partiesserver now supports up to 8 parties simultaneously.
|
File size:
533 bytes
|
Line | |
---|
1 | package geniusweb.actions;
|
---|
2 |
|
---|
3 | import com.fasterxml.jackson.annotation.JsonCreator;
|
---|
4 | import com.fasterxml.jackson.annotation.JsonProperty;
|
---|
5 | import com.fasterxml.jackson.annotation.JsonTypeName;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * Indicates that a party turns away from the negotiation and.
|
---|
9 | *
|
---|
10 | */
|
---|
11 | @JsonTypeName("endnegotiation")
|
---|
12 | public 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.