Package lu.kbra.modelizer_next.ui.export
Record Class ViewExportRequest
java.lang.Object
java.lang.Record
lu.kbra.modelizer_next.ui.export.ViewExportRequest
- Record Components:
format- export format to usescope- export scope to usepanelTypes- values for panel typesoutputDirectory- output directory value used by the operationfileNamePattern- text value for file name patternmultiple- whether multiple input files are allowedwildcard- whether wildcard path matching is enabled
public record ViewExportRequest(ViewExportFormat format, ViewExportScope scope, List<PanelType> panelTypes, File outputDirectory, String fileNamePattern, boolean multiple, boolean wildcard)
extends Record
Immutable request object passed to the exporter.
-
Constructor Summary
ConstructorsConstructorDescriptionViewExportRequest(ViewExportFormat format, ViewExportScope scope, List<PanelType> panelTypes, File outputDirectory, String fileNamePattern, boolean multiple, boolean wildcard) Creates an instance of aViewExportRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileNamePatternrecord component.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.booleanmultiple()Returns the value of themultiplerecord component.Returns the value of theoutputDirectoryrecord component.Returns the value of thepanelTypesrecord component.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.booleanwildcard()Returns the value of thewildcardrecord component.
-
Constructor Details
-
ViewExportRequest
public ViewExportRequest(ViewExportFormat format, ViewExportScope scope, List<PanelType> panelTypes, File outputDirectory, String fileNamePattern, boolean multiple, boolean wildcard) Creates an instance of aViewExportRequestrecord class.- Parameters:
format- the value for theformatrecord componentscope- the value for thescoperecord componentpanelTypes- the value for thepanelTypesrecord componentoutputDirectory- the value for theoutputDirectoryrecord componentfileNamePattern- the value for thefileNamePatternrecord componentmultiple- the value for themultiplerecord componentwildcard- the value for thewildcardrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
panelTypes
Returns the value of thepanelTypesrecord component.- Returns:
- the value of the
panelTypesrecord component
-
outputDirectory
Returns the value of theoutputDirectoryrecord component.- Returns:
- the value of the
outputDirectoryrecord component
-
fileNamePattern
Returns the value of thefileNamePatternrecord component.- Returns:
- the value of the
fileNamePatternrecord component
-
multiple
public boolean multiple()Returns the value of themultiplerecord component.- Returns:
- the value of the
multiplerecord component
-
wildcard
public boolean wildcard()Returns the value of thewildcardrecord component.- Returns:
- the value of the
wildcardrecord component
-