public class ExampleTicket extends Object
Constructor and Description |
---|
ExampleTicket(List<String> path,
int ordinal,
String uuid)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ExampleTicket |
from(Ticket ticket)
Deserializes a new instance from the protocol buffer ticket.
|
int |
getOrdinal() |
List<String> |
getPath() |
String |
getUuid() |
int |
hashCode() |
Ticket |
toTicket()
Creates a new protocol buffer Ticket by serializing to JSON.
|
public int getOrdinal()
public String getUuid()
public static ExampleTicket from(Ticket ticket)
public Ticket toTicket()
Copyright © 2022 The Apache Software Foundation. All rights reserved.