Package codes.grow.packages.skywalking
Record Class SkyWalkingService
java.lang.Object
java.lang.Record
codes.grow.packages.skywalking.SkyWalkingService
- Record Components:
id-base64(name) + ".1"for real servicesname- namegroup- group, may be emptyshortName- short name, may be emptylayers- layers (GENERAL, ...)normal- false for virtual (conjectured) services
public record SkyWalkingService(String id, String name, String group, String shortName, List<String> layers, boolean normal)
extends Record
A service known to OAP (native agents, native logs, OTLP logs).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.layers()Returns the value of thelayersrecord component.name()Returns the value of thenamerecord component.booleannormal()Returns the value of thenormalrecord component.Returns the value of theshortNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
shortName
Returns the value of theshortNamerecord component.- Returns:
- the value of the
shortNamerecord component
-
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-
normal
public boolean normal()Returns the value of thenormalrecord component.- Returns:
- the value of the
normalrecord component
-