java.lang.Object
java.lang.Record
com.github.sormuras.bach.Explorer
An Explorer finds files, lists modules, and helps explore other assets and states.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbach()Returns the value of thebachrecord component.declared(ModuleFinder finder) declared(Stream<ModuleDescriptor> descriptors) final booleanIndicates whether some other object is "equal to" this one.findJavaFiles(Path root) findModuleInfoJavaFiles(Path root) final inthashCode()Returns a hash code value for this object.listMissingExternalModules(ModuleFinder finder, String... more) listMissingExternalModules(String... more) listMissingExternalModules(List<ModuleFinder> finders, Set<String> more) newModuleInfoFinder(Path root) static booleanrequired(ModuleDescriptor.Requires requires) required(ModuleFinder finder) required(Stream<ModuleDescriptor> descriptors) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Explorer
Creates an instance of aExplorerrecord class.- Parameters:
bach- the value for thebachrecord component
-
-
Method Details
-
newModuleInfoFinder
-
findJavaFiles
-
findJavaFiles
-
findModuleInfoJavaFiles
-
findModuleInfoJavaFiles
-
listMissingExternalModules
-
listMissingExternalModules
-
listMissingExternalModules
-
declared
-
declared
-
required
-
required
-
required
-
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
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). -
bach
Returns the value of thebachrecord component.- Returns:
- the value of the
bachrecord component
-