Record Class AgentSelector
java.lang.Object
java.lang.Record
io.fluxzero.devserver.AgentSelector
- Record Components:
serviceIds- application or infrastructure service identifiersinstanceIds- concrete application instance identifierssources- subsystems such ascompile,app,test, orruntimeminimumLevel- minimum event/problem level
-
Constructor Summary
ConstructorsConstructorDescriptionAgentSelector(Set<String> serviceIds, Set<String> instanceIds, Set<String> sources, DevLogEvent.Level minimumLevel) Creates an instance of aAgentSelectorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentSelectorall()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 theinstanceIdsrecord component.Returns the value of theminimumLevelrecord component.Returns the value of theserviceIdsrecord component.sources()Returns the value of thesourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgentSelector
public AgentSelector(Set<String> serviceIds, Set<String> instanceIds, Set<String> sources, DevLogEvent.Level minimumLevel) Creates an instance of aAgentSelectorrecord class.- Parameters:
serviceIds- the value for theserviceIdsrecord componentinstanceIds- the value for theinstanceIdsrecord componentsources- the value for thesourcesrecord componentminimumLevel- the value for theminimumLevelrecord component
-
-
Method Details
-
all
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
serviceIds
Returns the value of theserviceIdsrecord component.- Returns:
- the value of the
serviceIdsrecord component
-
instanceIds
Returns the value of theinstanceIdsrecord component.- Returns:
- the value of the
instanceIdsrecord component
-
sources
-
minimumLevel
Returns the value of theminimumLevelrecord component.- Returns:
- the value of the
minimumLevelrecord component
-