Package ch.rswk.meta.engine
Record Class EngineUpdater.JsonExportTaskResult
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.EngineUpdater.JsonExportTaskResult
- Enclosing class:
EngineUpdater
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable Set
<MetaUserConfig> The field for theconfigs
record component.The field for thefiles
record component.private final @Nullable Set
<MetaUserGroup> The field for thegroups
record component.The field for themetas
record component.The field for theusers
record component. -
Constructor Summary
ConstructorsConstructorDescriptionJsonExportTaskResult
(@Nullable Set<MetaUserConfig> configs, @Nullable Set<FileInfo> files, @Nullable Set<MetaUserGroup> groups, @Nullable Set<Meta> metas, @Nullable Set<MetaUser> users) Creates an instance of aJsonExportTaskResult
record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Set
<MetaUserConfig> configs()
Returns the value of theconfigs
record component.final boolean
Indicates whether some other object is "equal to" this one.files()
Returns the value of thefiles
record component.@Nullable Set
<MetaUserGroup> groups()
Returns the value of thegroups
record component.final int
hashCode()
Returns a hash code value for this object.metas()
Returns the value of themetas
record component.final String
toString()
Returns a string representation of this record class.users()
Returns the value of theusers
record component.
-
Field Details
-
configs
The field for theconfigs
record component. -
files
The field for thefiles
record component. -
groups
The field for thegroups
record component. -
metas
The field for themetas
record component. -
users
The field for theusers
record component.
-
-
Constructor Details
-
JsonExportTaskResult
public JsonExportTaskResult(@Nullable Set<MetaUserConfig> configs, @Nullable Set<FileInfo> files, @Nullable Set<MetaUserGroup> groups, @Nullable Set<Meta> metas, @Nullable Set<MetaUser> users) Creates an instance of aJsonExportTaskResult
record class.- Parameters:
configs
- the value for theconfigs
record componentfiles
- the value for thefiles
record componentgroups
- the value for thegroups
record componentmetas
- the value for themetas
record componentusers
- the value for theusers
record component
-
-
Method Details
-
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)
. -
configs
Returns the value of theconfigs
record component.- Returns:
- the value of the
configs
record component
-
files
Returns the value of thefiles
record component.- Returns:
- the value of the
files
record component
-
groups
Returns the value of thegroups
record component.- Returns:
- the value of the
groups
record component
-
metas
Returns the value of themetas
record component.- Returns:
- the value of the
metas
record component
-
users
Returns the value of theusers
record component.- Returns:
- the value of the
users
record component
-