Package app.portaki.sdk.gateway
Record Class ModuleManifestSnapshot
java.lang.Object
java.lang.Record
app.portaki.sdk.gateway.ModuleManifestSnapshot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecommandNamesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.moduleId()Returns the value of themoduleIdrecord component.static ModuleManifestSnapshotof(String moduleId, List<String> scopes, List<String> publishedEventNames, List<String> queryNames, List<String> commandNames) Returns the value of thepublishedEventNamesrecord component.Returns the value of thequeryNamesrecord component.scopes()Returns the value of thescopesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModuleManifestSnapshot
public ModuleManifestSnapshot(String moduleId, List<String> scopes, List<String> publishedEventNames, List<String> queryNames, List<String> commandNames) Creates an instance of aModuleManifestSnapshotrecord class.- Parameters:
moduleId- the value for themoduleIdrecord componentscopes- the value for thescopesrecord componentpublishedEventNames- the value for thepublishedEventNamesrecord componentqueryNames- the value for thequeryNamesrecord componentcommandNames- the value for thecommandNamesrecord component
-
-
Method Details
-
of
-
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). -
moduleId
Returns the value of themoduleIdrecord component.- Returns:
- the value of the
moduleIdrecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
publishedEventNames
Returns the value of thepublishedEventNamesrecord component.- Returns:
- the value of the
publishedEventNamesrecord component
-
queryNames
Returns the value of thequeryNamesrecord component.- Returns:
- the value of the
queryNamesrecord component
-
commandNames
Returns the value of thecommandNamesrecord component.- Returns:
- the value of the
commandNamesrecord component
-