Skip to main content
summaryrefslogtreecommitdiffstats
blob: 91a18f3c34e5de73892dfe54973f93bd85517266 (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
36
37
/*******************************************************************************
 * Copyright (c) 2010 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.framework.skynet.core.event.filter;

import java.util.List;
import org.eclipse.osee.framework.core.model.event.IBasicGuidArtifact;
import org.eclipse.osee.framework.core.model.event.IBasicGuidRelation;

/**
 * @author Donald G. Dunne
 */
public interface IEventFilter {

   /**
    * return true if events for this branch should be passed through to listeners
    */
   public boolean isMatch(Long branchUuid);

   /**
    * return true if events for this this guid artifact should be passed through to listeners
    */
   public boolean isMatchArtifacts(List<? extends IBasicGuidArtifact> guidArts);

   /**
    * return true if events for this guid relation should be passed through to listeners
    */
   public boolean isMatchRelationArtifacts(List<? extends IBasicGuidRelation> relations);

}

Back to the top