To implment a new status indicator you just have to implement one or more of the following interfaces:
IListener<BuildSucceededEvent>
IListener<BuildFailedEvent>
IListener<BuildPartiallySucceededEvent>
IListener<BuildStoppedEvent>,
IListener<BuildInProgressEvent>
IListener<BuildNotStartedEvent>,
IListener<BuildStatusPolledEvent>


Add your status indicator as a listner to the event publisher that implements the following interface:
    public interface IBuildStatusEventPublisher
    {
        void PublishEvent<T>(T subject);
        void AddListener(object listener);
        void RemoveListener(object listener);
    }


That is about it.

Last edited Nov 11, 2009 at 12:12 AM by HakanForss, version 1

Comments

No comments yet.