addPostBuildCallback abstract method

void addPostBuildCallback(
  1. void callback()
)

Registers callback to be called after the current build.

This method should only be called from implementations of HookState. This method can only be called during build of this HookContext, otherwise an exception will be thrown. The callbacks will be called in the order they were registered.

Implementation

void addPostBuildCallback(void Function() callback);