Class NoneFileHeader
java.lang.Object
io.wcm.devops.conga.generator.plugins.fileheader.NoneFileHeader
- All Implemented Interfaces:
FileHeaderPlugin,FilePlugin<FileHeaderContext,,Void> Plugin
Adds no file header.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(FileContext file, FileHeaderContext context) Checks if the plugin can be applied to the given file.apply(FileContext file, FileHeaderContext context) Applies the comment file header.getName()implicitApply(FileContext file, FileHeaderContext context) Whether to apply this plugin implicitly.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.wcm.devops.conga.generator.spi.FileHeaderPlugin
extract
-
Field Details
-
NAME
Plugin name- See Also:
-
-
Constructor Details
-
NoneFileHeader
public NoneFileHeader()
-
-
Method Details
-
getName
-
accepts
Description copied from interface:FilePluginChecks if the plugin can be applied to the given file.- Specified by:
acceptsin interfaceFilePlugin<FileHeaderContext,Void> - Parameters:
file- Context filecontext- Context objects- Returns:
- true when the plugin can be applied to the given file.
-
implicitApply
Description copied from interface:FileHeaderPluginWhether to apply this plugin implicitly.- Specified by:
implicitApplyin interfaceFileHeaderPlugin- Specified by:
implicitApplyin interfaceFilePlugin<FileHeaderContext,Void> - Parameters:
file- Context filecontext- Context objects- Returns:
- Implicit apply option
-
apply
Description copied from interface:FileHeaderPluginApplies the comment file header.- Specified by:
applyin interfaceFileHeaderPlugin- Specified by:
applyin interfaceFilePlugin<FileHeaderContext,Void> - Parameters:
file- Context filecontext- Context objects- Returns:
- nothing
-