Package io.activej.jmx
Record Class ProtoObjectName
java.lang.Object
java.lang.Record
io.activej.jmx.ProtoObjectName
-
Constructor Summary
ConstructorsConstructorDescriptionProtoObjectName(@Nullable String className, String packageName, @Nullable Object qualifier, @Nullable String scope, @Nullable String workerPoolQualifier, @Nullable String workerId, @Nullable List<String> genericParameters) Creates an instance of aProtoObjectNamerecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theclassNamerecord component.static ProtoObjectNamefinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegenericParametersrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepackageNamerecord component.@Nullable ObjectReturns the value of thequalifierrecord component.@Nullable Stringscope()Returns the value of thescoperecord component.toString()Returns a string representation of this record class.withClassName(@Nullable String className) withGenericParameters(@Nullable List<String> genericParameters) withPackageName(String packageName) withQualifier(@Nullable Object qualifier) withWorkerId(@Nullable String workerId) withWorkerPoolQualifier(@Nullable String workerPoolQualifier) @Nullable StringworkerId()Returns the value of theworkerIdrecord component.@Nullable StringReturns the value of theworkerPoolQualifierrecord component.
-
Constructor Details
-
ProtoObjectName
public ProtoObjectName(@Nullable @Nullable String className, String packageName, @Nullable @Nullable Object qualifier, @Nullable @Nullable String scope, @Nullable @Nullable String workerPoolQualifier, @Nullable @Nullable String workerId, @Nullable @Nullable List<String> genericParameters) Creates an instance of aProtoObjectNamerecord class.- Parameters:
className- the value for theclassNamerecord componentpackageName- the value for thepackageNamerecord componentqualifier- the value for thequalifierrecord componentscope- the value for thescoperecord componentworkerPoolQualifier- the value for theworkerPoolQualifierrecord componentworkerId- the value for theworkerIdrecord componentgenericParameters- the value for thegenericParametersrecord component
-
-
Method Details
-
create
-
withClassName
-
withPackageName
-
withQualifier
-
withScope
-
withWorkerPoolQualifier
-
withWorkerId
-
withGenericParameters
-
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). -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
qualifier
Returns the value of thequalifierrecord component.- Returns:
- the value of the
qualifierrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
workerPoolQualifier
Returns the value of theworkerPoolQualifierrecord component.- Returns:
- the value of the
workerPoolQualifierrecord component
-
workerId
Returns the value of theworkerIdrecord component.- Returns:
- the value of the
workerIdrecord component
-
genericParameters
Returns the value of thegenericParametersrecord component.- Returns:
- the value of the
genericParametersrecord component
-