Class History
- All Implemented Interfaces:
Serializable,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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe list of history events.If aNextPageTokenwas returned by a previous call, there are more results available.inthashCode()voidsetEvents(Collection<HistoryEvent> events) The list of history events.voidsetNextPageToken(String nextPageToken) If aNextPageTokenwas returned by a previous call, there are more results available.toString()Returns a string representation of this object; useful for testing and debugging.withEvents(HistoryEvent... events) The list of history events.withEvents(Collection<HistoryEvent> events) The list of history events.withNextPageToken(String nextPageToken) If aNextPageTokenwas returned by a previous call, there are more results available.
-
Constructor Details
-
History
public History()
-
-
Method Details
-
getEvents
The list of history events.
- Returns:
- The list of history events.
-
setEvents
The list of history events.
- Parameters:
events- The list of history events.
-
withEvents
The list of history events.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)orwithEvents(java.util.Collection)if you want to override the existing values.- Parameters:
events- The list of history events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
The list of history events.
- Parameters:
events- The list of history events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextPageToken
If a
NextPageTokenwas 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 innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Parameters:
nextPageToken- If aNextPageTokenwas 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 innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.
-
getNextPageToken
If a
NextPageTokenwas 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 innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Returns:
- If a
NextPageTokenwas 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 innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.
-
withNextPageToken
If a
NextPageTokenwas 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 innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Parameters:
nextPageToken- If aNextPageTokenwas 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 innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-