001package com.astrolabsoftware.FinkBrowser.Januser; 002 003import com.Lomikel.Utils.LomikelException; 004 005/** <code>Classifier</code> classifies sources. 006 * @opt attributes 007 * @opt operations 008 * @opt types 009 * @opt visibility 010 * @author <a href="mailto:Julius.Hrivnac@cern.ch">J.Hrivnac</a> */ 011public interface Classifier { 012 013 /** Classify <em>source</em> and expand them to alerts (if requested). 014 * It should register classes corresponding to specified <tt>objectId</tt> 015 * using {@link FinkGremlinRecipies#registerSourcesOfInterest(Classifiers, String, String, double, String, String, boolean, String)}. 016 * @param recipies The {@link FinkGremlinRecipies} caller. 017 * @param oid The <tt>objectId</tt> of source to be added. 018 * @param enhance Whether expand tree under all <em>SourcesOfInterest</em> with alerts 019 * possibly filled with requested HBase columns. 020 * @param columns The HBase columns to be copied into graph alerts. May be <tt>null</tt>. 021 * @throws LomikelException If anything fails. */ 022 public abstract void classify(FinkGremlinRecipies recipies, 023 String oid, 024 boolean enhance, 025 String columns) throws LomikelException; 026 027 }