001package org.biopax.paxtools.pattern.util; 002 003/** 004 * This interface is to use for tracking progress of a process. 005 * @author Ozgun Babur 006 */ 007public interface ProgressWatcher 008{ 009 /** 010 * Sets how many ticks are there in total. 011 * @param total total number of ticks 012 */ 013 public void setTotalTicks(int total); 014 015 /** 016 * Ticks the progress watcher. 017 * @param times times to tick 018 */ 019 public void tick(int times); 020}