Class FragmentTemplateEngine.TemplateUpdater
java.lang.Object
aQute.bnd.wstemplates.FragmentTemplateEngine.TemplateUpdater
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
FragmentTemplateEngine
Used to edit the updates. A TemplateUpdater maintains a list of Update
objects indexed by file they affect. The intention that this structure is
used to resolve any conflicts. Calling
commit() will then
execute the updates.
An instance must be closed when no longer used to release the JARs.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcommit()Commit the updatesremove(FragmentTemplateEngine.Update update) Remove an updateupdaters()Get the current set of updates
-
Method Details
-
remove
Remove an update -
commit
public void commit()Commit the updates -
updaters
Get the current set of updates -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-