source: java2python/jackson-t/src/test/javaactions/testcode/actions/EndNegotiation.java

Last change on this file was 1116, checked in by wouter, 6 weeks ago

#363 small cleanup in test code

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