com.kerrybuckley.cctrayicon
Interface CcStatusMonitor

All Known Implementing Classes:
SwingCcStatusMonitor

public interface CcStatusMonitor

Author:
Kerry Buckley

Field Summary
static long DEFAULT_POLL_INTERVAL
          The server polling interval, in milliseconds.
 
Method Summary
 void notifyBuildFailure(java.lang.String message)
          Notify the monitor of build failure(s).
 void notifyBuildFixed(java.lang.String message)
          Notify the monitor that failed build(s) is/are now fixed.
 void notifyServerUnreachable(java.lang.String message)
          Notify the monitor that the server is unreachable.
 void setStatus(boolean buildClean)
          Set the overall status of the build.
 

Field Detail

DEFAULT_POLL_INTERVAL

public static final long DEFAULT_POLL_INTERVAL
The server polling interval, in milliseconds.

See Also:
Constant Field Values
Method Detail

setStatus

public void setStatus(boolean buildClean)
Set the overall status of the build.

Parameters:
buildClean - a flag indicating whether the build is clean.

notifyBuildFailure

public void notifyBuildFailure(java.lang.String message)
Notify the monitor of build failure(s).

Parameters:
message - a message to display with the notification

notifyBuildFixed

public void notifyBuildFixed(java.lang.String message)
Notify the monitor that failed build(s) is/are now fixed.

Parameters:
message - a message to display with the notification

notifyServerUnreachable

public void notifyServerUnreachable(java.lang.String message)
Notify the monitor that the server is unreachable.

Parameters:
message - a message to display with the notification