Record Class ShellCatalogEntry
java.lang.Object
java.lang.Record
org.aksw.shellgebra.introspect.ShellCatalogEntry
-
Constructor Summary
ConstructorsConstructorDescriptionShellCatalogEntry(String name, Collection<String> probeLocations, String commandOption, String builtInLocator) Creates an instance of aShellCatalogEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuiltInLocatorrecord component.Returns the value of thecommandOptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of theprobeLocationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ShellCatalogEntry
public ShellCatalogEntry(String name, Collection<String> probeLocations, String commandOption, String builtInLocator) Creates an instance of aShellCatalogEntryrecord class.- Parameters:
name- the value for thenamerecord componentprobeLocations- the value for theprobeLocationsrecord componentcommandOption- the value for thecommandOptionrecord componentbuiltInLocator- the value for thebuiltInLocatorrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
probeLocations
Returns the value of theprobeLocationsrecord component.- Returns:
- the value of the
probeLocationsrecord component
-
commandOption
Returns the value of thecommandOptionrecord component.- Returns:
- the value of the
commandOptionrecord component
-
builtInLocator
Returns the value of thebuiltInLocatorrecord component.- Returns:
- the value of the
builtInLocatorrecord component
-