Search in sources :

Example 1 with IPublishListener

use of org.eclipse.wst.server.core.IPublishListener in project webtools.servertools by eclipse.

the class PublishListenerTestCase method testListener.

public void testListener() {
    IPublishListener listener = new IPublishListener() {

        public void publishStarted(IServer server) {
        // ignore
        }

        public void publishFinished(IServer server, IStatus status) {
        // ignore
        }
    };
    listener.publishStarted(null);
    listener.publishFinished(null, null);
}
Also used : IServer(org.eclipse.wst.server.core.IServer) IStatus(org.eclipse.core.runtime.IStatus) IPublishListener(org.eclipse.wst.server.core.IPublishListener)

Aggregations

IStatus (org.eclipse.core.runtime.IStatus)1 IPublishListener (org.eclipse.wst.server.core.IPublishListener)1 IServer (org.eclipse.wst.server.core.IServer)1