Skip to main content
summaryrefslogtreecommitdiffstats
blob: 47bb6449ec91987d3f39cbcf37b6250d328e7b40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*******************************************************************************
 * Copyright (c) 2004, 2007 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.ote.service;

import org.eclipse.osee.connection.service.IServiceConnector;
import org.eclipse.osee.ote.core.environment.interfaces.IHostTestEnvironment;

/**
 * This listener will be notified of test host availability events. Clients must register implementations of this
 * listener by calling {@link IOteClientService#addEnvironmentAvailibiltyListener(ITestEnvironmentAvailibilityListener)}
 * 
 * @author Ken J. Aguilar
 */
public interface ITestEnvironmentAvailibilityListener {

   /**
    * this method will be called when a {@link IHostTestEnvironment} becomes available for use.
    */
   void environmentAvailable(IHostTestEnvironment testEnvironment, IServiceConnector connector, OteServiceProperties properties);

   /**
    * this method will be called whenever a {@link IHostTestEnvironment} becomes unavailable.
    */
   void environmentUnavailable(IHostTestEnvironment testEnvironment, IServiceConnector connector, OteServiceProperties properties);
}

Back to the top