Package io.github.chrimle.classforge
Class EnumBuilder
java.lang.Object
io.github.chrimle.classforge.AbstractBuilder
io.github.chrimle.classforge.EnumBuilder
- All Implemented Interfaces:
Builder
Builder of Java
enum classes.- Since:
- 0.1.0
- Author:
- Chrimle
-
Field Summary
Fields inherited from class io.github.chrimle.classforge.AbstractBuilder
className, directory, packageName, reservedClassNames -
Method Summary
Methods inherited from class io.github.chrimle.classforge.AbstractBuilder
commit, generateClassFile, resolveFullyQualifiedClassName, updateClassName, updateDirectory, updatePackageName
-
Method Details
-
validateAdditionalPredicates
protected void validateAdditionalPredicates()Description copied from class:AbstractBuilderValidates additionalPredicates for determining the validity of the currently uncommitted class.- Specified by:
validateAdditionalPredicatesin classAbstractBuilder
-
generateFileContent
Description copied from class:AbstractBuilderGenerates the complete file contents for a.javafile for the currently uncommitted class.- Specified by:
generateFileContentin classAbstractBuilder- Returns:
- the file contents as a
String.
-