Coverage Report - org.argouml.profile.internal.DependencyChecker
 
Classes in this File Line Coverage Branch Coverage Complexity
DependencyChecker
N/A
N/A
1
 
 1  
 /* $Id: DependencyChecker.java 17979 2010-02-11 01:24:27Z euluis $
 2  
  *****************************************************************************
 3  
  * Copyright (c) 2010 Contributors - see below
 4  
  * All rights reserved. This program and the accompanying materials
 5  
  * are made available under the terms of the Eclipse Public License v1.0
 6  
  * which accompanies this distribution, and is available at
 7  
  * http://www.eclipse.org/legal/epl-v10.html
 8  
  *
 9  
  * Contributors:
 10  
  *    euluis
 11  
  *****************************************************************************
 12  
  */
 13  
 
 14  
 package org.argouml.profile.internal;
 15  
 
 16  
 /**
 17  
  * An interface to be used to check if all dependencies of items are resolved
 18  
  * or not.
 19  
  * @author Luis Sergio Oliveira (euluis)
 20  
  * @param <T> the type of the items for which the dependencies are to be
 21  
  *            checked.
 22  
  */
 23  
 interface DependencyChecker<T> {
 24  
     /**
 25  
      * Check if all dependencies of item are resolved.
 26  
      *
 27  
      * @param item the item for which to check if the dependencies are
 28  
      *             resolved.
 29  
      * @return true if the check if item dependencies are all resolved is
 30  
      *         successful.
 31  
      */
 32  
     boolean check(T item);
 33  
 }