Skip to main content
summaryrefslogtreecommitdiffstats
blob: 4556d642aacc3781ae835044bd3585a5acaa63d4 (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
34
35
/*******************************************************************************
 * 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.message;

/**
 * @author Ryan D. Brooks
 */
public interface MessageSink {

   /**
    * called once by each provider before it calls absorbMessage or absorbElement
    * @param providerName The name of the provider
    */
   public void absorbProvider(String providerName);

   /**
    * called once for each message in the message list
    * @param messageName The name of the message
    */
   public void absorbMessage(String messageName);

   /**
    * called once for each element in a message after absorbMessage is called for that message
    * @param elementName The name of the element
    */
   public void absorbElement(String elementName);
}

Back to the top