Schnittstelle IBuildMessageHandler

Alle bekannten Unterschnittstellen:
IUIBuildMessageHandler

public interface IBuildMessageHandler
Interface that handles messages sent from the compiler. Implementations define which messages are logged and whether the handler aborts the process.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Allow fine grained configuration after initialization.
    boolean
    Handle message by reporting and/or throwing an AbortException.
    void
    Allow fine grained configuration after initialization.
    boolean
    Signal whether this will ignore messages of a given type.
  • Methodendetails

    • handleMessage

      boolean handleMessage(IMessage message) throws AbortException
      Handle message by reporting and/or throwing an AbortException.
      Parameter:
      message - the IMessage to handle - never null
      Gibt zurück:
      true if this message was handled by this handler
      Löst aus:
      IllegalArgumentException - if message is null
      AbortException - depending on handler logic.
    • isIgnoring

      boolean isIgnoring(IMessage.Kind kind)
      Signal whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.
      Gibt zurück:
      true if this handler is ignoring all messages of this type
    • dontIgnore

      void dontIgnore(IMessage.Kind kind)
      Allow fine grained configuration after initialization.
      Parameter:
      kind -
    • ignore

      void ignore(IMessage.Kind kind)
      Allow fine grained configuration after initialization.
      Parameter:
      kind -