Record Class TargetSelector
java.lang.Object
java.lang.Record
com.iantapply.orchestra.api.TargetSelector
- Record Components:
servers- explicit server namesgroups- configured server groups- labels that a server must matchallOnline- whether every online server should be included
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TargetSelectorSelector matching every online server. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallOnlinerecord component.final booleanIndicates whether some other object is "equal to" this one.groups()Returns the value of thegroupsrecord component.final inthashCode()Returns a hash code value for this object.servers()Returns the value of theserversrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ALL_ONLINE
Selector matching every online server.
-
-
Constructor Details
-
TargetSelector
-
-
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. -
servers
-
groups
-
tags
-
allOnline
-