public class History
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.
Modifier and Type | Field and Description |
---|---|
private java.util.List<HistoryEvent> |
events
The list of history events.
|
private java.lang.String |
nextPageToken
If a
NextPageToken was returned by a previous call, there
are more results available. |
Constructor and Description |
---|
History() |
Modifier and Type | Method and Description |
---|---|
History |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<HistoryEvent> |
getEvents()
The list of history events.
|
java.lang.String |
getNextPageToken()
If a
NextPageToken was returned by a previous call, there
are more results available. |
int |
hashCode() |
void |
setEvents(java.util.Collection<HistoryEvent> events)
The list of history events.
|
void |
setNextPageToken(java.lang.String nextPageToken)
If a
NextPageToken was returned by a previous call, there
are more results available. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
History |
withEvents(java.util.Collection<HistoryEvent> events)
The list of history events.
|
History |
withEvents(HistoryEvent... events)
The list of history events.
|
History |
withNextPageToken(java.lang.String nextPageToken)
If a
NextPageToken was returned by a previous call, there
are more results available. |
private java.util.List<HistoryEvent> events
The list of history events.
private java.lang.String nextPageToken
If a NextPageToken
was returned by a previous call, there
are more results available. To retrieve the next page of results, make
the call again using the returned token in nextPageToken
.
Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results
can be returned in a single call.
public java.util.List<HistoryEvent> getEvents()
The list of history events.
public void setEvents(java.util.Collection<HistoryEvent> events)
The list of history events.
events
- The list of history events.public History withEvents(HistoryEvent... events)
The list of history events.
NOTE: This method appends the values to the existing list (if
any). Use setEvents(java.util.Collection)
or
withEvents(java.util.Collection)
if you want to override the
existing values.
events
- The list of history events.public History withEvents(java.util.Collection<HistoryEvent> events)
The list of history events.
events
- The list of history events.public void setNextPageToken(java.lang.String nextPageToken)
If a NextPageToken
was returned by a previous call, there
are more results available. To retrieve the next page of results, make
the call again using the returned token in nextPageToken
.
Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results
can be returned in a single call.
nextPageToken
- If a NextPageToken
was returned by a previous call,
there are more results available. To retrieve the next page of
results, make the call again using the returned token in
nextPageToken
. Keep all other arguments
unchanged.
The configured maximumPageSize
determines how many
results can be returned in a single call.
public java.lang.String getNextPageToken()
If a NextPageToken
was returned by a previous call, there
are more results available. To retrieve the next page of results, make
the call again using the returned token in nextPageToken
.
Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results
can be returned in a single call.
NextPageToken
was returned by a previous call,
there are more results available. To retrieve the next page of
results, make the call again using the returned token in
nextPageToken
. Keep all other arguments
unchanged.
The configured maximumPageSize
determines how many
results can be returned in a single call.
public History withNextPageToken(java.lang.String nextPageToken)
If a NextPageToken
was returned by a previous call, there
are more results available. To retrieve the next page of results, make
the call again using the returned token in nextPageToken
.
Keep all other arguments unchanged.
The configured maximumPageSize
determines how many results
can be returned in a single call.
nextPageToken
- If a NextPageToken
was returned by a previous call,
there are more results available. To retrieve the next page of
results, make the call again using the returned token in
nextPageToken
. Keep all other arguments
unchanged.
The configured maximumPageSize
determines how many
results can be returned in a single call.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public History clone()
clone
in class java.lang.Object