Module java4ever.framework
Record Class GeneratorConfig
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.generator.GeneratorConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe type Generator contract. -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorConfig(String targetDir, String contractPkg, String templatePkg, List<GeneratorConfig.GeneratorContract> contractList) Creates an instance of aGeneratorConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontractListrecord component.Returns the value of thecontractPkgrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetargetDirrecord component.Returns the value of thetemplatePkgrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GeneratorConfig
public GeneratorConfig(String targetDir, String contractPkg, String templatePkg, List<GeneratorConfig.GeneratorContract> contractList) Creates an instance of aGeneratorConfigrecord class.- Parameters:
targetDir- the value for thetargetDirrecord componentcontractPkg- the value for thecontractPkgrecord componenttemplatePkg- the value for thetemplatePkgrecord componentcontractList- the value for thecontractListrecord 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). -
targetDir
Returns the value of thetargetDirrecord component.- Returns:
- the value of the
targetDirrecord component
-
contractPkg
Returns the value of thecontractPkgrecord component.- Returns:
- the value of the
contractPkgrecord component
-
templatePkg
Returns the value of thetemplatePkgrecord component.- Returns:
- the value of the
templatePkgrecord component
-
contractList
Returns the value of thecontractListrecord component.- Returns:
- the value of the
contractListrecord component
-