Class ProjectContext
java.lang.Object
io.freefair.gradle.codegenerator.api.ProjectContext
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
<T> T
getConfigurationValueAs
(String key, Class<T> clazz) getNamespaceFromFile
(File file) byte[]
readFileToByteArray
(String namespace, String filename) void
writeOutputFile
(String namespace, String filename, byte[] content) void
writeOutputFile
(String namespace, String filename, String content)
-
Constructor Details
-
ProjectContext
-
-
Method Details
-
getNamespaceFromFile
-
getAllFiles
-
readFileToByteArray
- Throws:
IOException
-
readFile
- Throws:
IOException
-
readFile
- Throws:
IOException
-
writeOutputFile
- Throws:
IOException
-
writeOutputFile
- Throws:
IOException
-
configurationExists
-
getConfigurationValue
-
getConfigurationValueAs
-
getRootDir
-
getInputDir
-
getOutputDir
-
getSourceSet
-