Interface IJobStateNotifier

All Known Subinterfaces:
IJob, IJobManager

public interface IJobStateNotifier
Common interface for everyone willing to fire notifications for IJobStateListener.
Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
  • Method Details

    • addJobStateListener

      void addJobStateListener(IJobStateListener listener)
      Add listener.
      Parameters:
      listener - listener
      Throws:
      IllegalArgumentException - if listener is null
    • removeJobStateListener

      void removeJobStateListener(IJobStateListener listener)
      Remove listener.

      Removal of already removed listener is permitted.

      Parameters:
      listener - listener
      Throws:
      IllegalArgumentException - if listener is null