Class FinkClassifier

java.lang.Object
com.astrolabsoftware.FinkBrowser.Januser.Classifier
com.astrolabsoftware.FinkBrowser.Januser.FinkClassifier

public class FinkClassifier extends Classifier
FinkClassifier classifies sources using Fink according to Fink Portal REST service.
Author:
J.Hrivnac
  • Field Details

    • CLASSES

      private static Set<String> CLASSES
    • log

      private static org.apache.logging.log4j.Logger log
      Logging .
  • Constructor Details

  • Method Details

    • classify

      public void classify(FinkGremlinRecipies recipies, String oid) throws LomikelException
      Description copied from class: Classifier
      Classify source and expand them to alerts (if requested). It should register classes corresponding to specified objectId using FinkGremlinRecipies#registerSoI(Classifiers, String, String, double, String, String, boolean, String).
      Specified by:
      classify in class Classifier
      Parameters:
      recipies - The FinkGremlinRecipies caller.
      oid - The objectId of source to be added.
      Throws:
      LomikelException - If anything fails.
    • finkClasses

      public static Set<String> finkClasses()
      Give classes assigned by Fink.
      Returns:
      The classes assigned by Fink.