Record Class ModuleUpdaterContext
java.lang.Object
java.lang.Record
eu.cloudnetservice.node.impl.module.updater.ModuleUpdaterContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for themoduleNamesrecord component.private final @NonNull ModulesHolderThe field for themodulesrecord component.The field for theupdaterBranchrecord component.The field for theupdaterReporecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themoduleNamesrecord component.modules()Returns the value of themodulesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdaterBranchrecord component.Returns the value of theupdaterReporecord component.
-
Field Details
-
modules
The field for themodulesrecord component. -
moduleNames
-
updaterRepo
-
updaterBranch
-
-
Constructor Details
-
ModuleUpdaterContext
public ModuleUpdaterContext(@NonNull @NonNull ModulesHolder modules, @NonNull @NonNull Map<Path, String> moduleNames, @NonNull @NonNull String updaterRepo, @NonNull @NonNull String updaterBranch) Creates an instance of aModuleUpdaterContextrecord class.- Parameters:
modules- the value for themodulesrecord componentmoduleNames- the value for themoduleNamesrecord componentupdaterRepo- the value for theupdaterReporecord componentupdaterBranch- the value for theupdaterBranchrecord 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). -
modules
Returns the value of themodulesrecord component.- Returns:
- the value of the
modulesrecord component
-
moduleNames
-
updaterRepo
-
updaterBranch
-