Interface DropHandler<PK>


public interface DropHandler<PK>
DropHandler handle custom drop actions
Author:
Moritz Neuhäuser <moritz.neuhaeuser@nuclos.de>
  • Method Details

    • install

      boolean install(InstallContext ctx)
      install evaluate if the handler may accept drops
      Parameters:
      ctx - context information InstallContext
      Returns:
      evaluation result
    • handle

      boolean handle(DropContext<PK> ctx)
      handle handle drop event
      Parameters:
      ctx - context information DropContext
      Returns:
      drop success
    • isAllowed

      boolean isAllowed(DropContext<PK> ctx)
      isAllowed check if drop is allowed
      Parameters:
      ctx - context information DropContext
      Returns:
    • supportedFlavors

      Set<Flavor> supportedFlavors()
      supportedFlavors Flavor supported by the handler
      Returns: