Record Class AgentTimelinePdfService.AgentInstanceInfo
java.lang.Object
java.lang.Record
com.flowable.platform.service.agent.AgentTimelinePdfService.AgentInstanceInfo
- Enclosing class:
- AgentTimelinePdfService
public static record AgentTimelinePdfService.AgentInstanceInfo(String agentName, String agentInstanceId, String operationName, String state, String startedBy, Instant startTime, Instant endTime, String tenantId)
extends Record
Header details for a single-agent-invocation PDF. Any field may be
null; the service fills the agent
name and operation name from the fetched timeline when not supplied. tenantId is the tenant of the
reported agent instance, used to resolve its pricing configuration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentInstanceIdrecord component.Returns the value of theagentNamerecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationNamerecord 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
-
AgentInstanceInfo
public AgentInstanceInfo(String agentName, String agentInstanceId, String operationName, String state, String startedBy, Instant startTime, Instant endTime, String tenantId) Creates an instance of aAgentInstanceInforecord class.- Parameters:
agentName- the value for theagentNamerecord componentagentInstanceId- the value for theagentInstanceIdrecord componentoperationName- the value for theoperationNamerecord componentstate- the value for thestaterecord componentstartedBy- the value for thestartedByrecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord 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). -
agentName
Returns the value of theagentNamerecord component.- Returns:
- the value of the
agentNamerecord component
-
agentInstanceId
Returns the value of theagentInstanceIdrecord component.- Returns:
- the value of the
agentInstanceIdrecord component
-
operationName
Returns the value of theoperationNamerecord component.- Returns:
- the value of the
operationNamerecord 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
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-