Record Class AgentProblemSummary
java.lang.Object
java.lang.Record
io.fluxzero.devserver.AgentProblemSummary
-
Constructor Summary
ConstructorsConstructorDescriptionAgentProblemSummary(String id, DevLogEvent.Level severity, String category, String source, String serviceType, String serviceId, String instanceId, String operationId, String summary, int occurrences) Creates an instance of aAgentProblemSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the value of thecategoryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theinstanceIdrecord component.intReturns the value of theoccurrencesrecord component.Returns the value of theoperationIdrecord component.Returns the value of theserviceIdrecord component.Returns the value of theserviceTyperecord component.severity()Returns the value of theseverityrecord component.source()Returns the value of thesourcerecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgentProblemSummary
public AgentProblemSummary(String id, DevLogEvent.Level severity, String category, String source, String serviceType, String serviceId, String instanceId, String operationId, String summary, int occurrences) Creates an instance of aAgentProblemSummaryrecord class.- Parameters:
id- the value for theidrecord componentseverity- the value for theseverityrecord componentcategory- the value for thecategoryrecord componentsource- the value for thesourcerecord componentserviceType- the value for theserviceTyperecord componentserviceId- the value for theserviceIdrecord componentinstanceId- the value for theinstanceIdrecord componentoperationId- the value for theoperationIdrecord componentsummary- the value for thesummaryrecord componentoccurrences- the value for theoccurrencesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
severity
Returns the value of theseverityrecord component.- Returns:
- the value of the
severityrecord component
-
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
serviceType
Returns the value of theserviceTyperecord component.- Returns:
- the value of the
serviceTyperecord component
-
serviceId
Returns the value of theserviceIdrecord component.- Returns:
- the value of the
serviceIdrecord component
-
instanceId
Returns the value of theinstanceIdrecord component.- Returns:
- the value of the
instanceIdrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
occurrences
public int occurrences()Returns the value of theoccurrencesrecord component.- Returns:
- the value of the
occurrencesrecord component
-