static PatchingTask createTask ( final PatchingTasks . ContentTaskDefinition definition , final PatchContentProvider provider , final IdentityPatchContext . PatchEntry context ) { final PatchContentLoader contentLoader = provider . getLoader ( definition . getTarget ( ) . getPatchId ( ) ) ; final PatchingTaskDescription description = PatchingTaskDescription . create ( definition , contentLoader ) ; return PatchingTask . Factory . create ( description , context ) ; }
Create the patching task based on the definition .