Record Class TestRegistryRepo
java.lang.Object
java.lang.Record
ch.admin.bit.jeap.messagecontract.test.TestRegistryRepo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTestRegistryRepo(Path repoDir, String revision, String url) Creates an instance of aTestRegistryReporecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAndCommitFile(Path file, String content) static TestRegistryRepovoiddelete()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.repoDir()Returns the value of therepoDirrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Field Details
-
EVENT_DIR
- See Also:
-
-
Constructor Details
-
TestRegistryRepo
Creates an instance of aTestRegistryReporecord class.- Parameters:
repoDir- the value for therepoDirrecord componentrevision- the value for therevisionrecord componenturl- the value for theurlrecord component
-
-
Method Details
-
createMessageTypeRegistryRepository
- Throws:
Exception
-
addAndCommitFile
- Throws:
Exception
-
delete
- Throws:
IOException
-
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
public final int 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). -
repoDir
Returns the value of therepoDirrecord component.- Returns:
- the value of the
repoDirrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-