blob: ae378a04864699fda6e9d2ba9cf77e454f2ccac7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 - 2006 University Of British Columbia and others.
* 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:
* University Of British Columbia - initial API and implementation
*******************************************************************************/
package org.eclipse.mylar.monitor.reports;
import java.util.Set;
import org.eclipse.mylar.provisional.core.InteractionEvent;
/**
* A usage scanner will see all events for a user before any consumers
*
* @author Gail Murphy
*/
public interface IUsageScanner {
public void scanEvent(InteractionEvent event, int userId);
public boolean accept(int userId);
public Set<Integer> acceptedUsers();
}