Class GeneratedFilesWriter.SourceFile
java.lang.Object
org.infinispan.protostream.annotations.impl.processor.GeneratedFilesWriter.SourceFile
- All Implemented Interfaces:
GeneratedFilesWriter.GeneratedFile
- Enclosing class:
GeneratedFilesWriter
private static final class GeneratedFilesWriter.SourceFile
extends Object
implements GeneratedFilesWriter.GeneratedFile
- Since:
- 4.3
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSourceFile(boolean isEnabled, String className, String source, Element... originatingElements) -
Method Summary
-
Field Details
-
isEnabled
private final boolean isEnabled -
className
-
source
-
originatingElements
-
-
Constructor Details
-
SourceFile
-
-
Method Details
-
isEnabled
public boolean isEnabled()Description copied from interface:GeneratedFilesWriter.GeneratedFileWill it be written on disk (true) or is it just a memory-only file (false)?- Specified by:
isEnabledin interfaceGeneratedFilesWriter.GeneratedFile
-
getSource
- Specified by:
getSourcein interfaceGeneratedFilesWriter.GeneratedFile
-
write
- Specified by:
writein interfaceGeneratedFilesWriter.GeneratedFile- Throws:
IOException
-