Record Class AgentTimelinePdfService.ScopeInfo
java.lang.Object
java.lang.Record
com.flowable.platform.service.agent.AgentTimelinePdfService.ScopeInfo
- Enclosing class:
- AgentTimelinePdfService
public static record AgentTimelinePdfService.ScopeInfo(String name, String definitionName, Instant startTime, String state, String startedBy, String tenantId)
extends Record
Optional details about the work instance (case/process) the timeline belongs to. Any field may be
null.
tenantId is the tenant of the reported instance, used to resolve its pricing configuration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefinitionNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thestartedByrecord component.Returns the value of thestartTimerecord component.state()Returns the value of thestaterecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScopeInfo
public ScopeInfo(String name, String definitionName, Instant startTime, String state, String startedBy, String tenantId) Creates an instance of aScopeInforecord class.- Parameters:
name- the value for thenamerecord componentdefinitionName- the value for thedefinitionNamerecord componentstartTime- the value for thestartTimerecord componentstate- the value for thestaterecord componentstartedBy- the value for thestartedByrecord componenttenantId- the value for thetenantIdrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
definitionName
Returns the value of thedefinitionNamerecord component.- Returns:
- the value of the
definitionNamerecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
startedBy
Returns the value of thestartedByrecord component.- Returns:
- the value of the
startedByrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-