Record Class CompilationConfig
java.lang.Object
java.lang.Record
ca.mcscert.jpipe.compiler.CompilationConfig
- Record Components:
inputFile- path to the.jdsource file, orSTDIN.outputFile- path to the output file, orSTDOUT.format- output format.diagramName- name of the model to export.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompilationConfig(String inputFile, String outputFile, Format format, String diagramName) Creates an instance of aCompilationConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thediagramNamerecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinputFilerecord component.Returns the value of theoutputFilerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
STDIN
- See Also:
-
STDOUT
- See Also:
-
-
Constructor Details
-
CompilationConfig
Creates an instance of aCompilationConfigrecord class.- Parameters:
inputFile- the value for theinputFilerecord componentoutputFile- the value for theoutputFilerecord componentformat- the value for theformatrecord componentdiagramName- the value for thediagramNamerecord 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). -
inputFile
-
outputFile
Returns the value of theoutputFilerecord component.- Returns:
- the value of the
outputFilerecord component
-
format
-
diagramName
Returns the value of thediagramNamerecord component.- Returns:
- the value of the
diagramNamerecord component
-