ome.services.util
Class DBEnumCheck

java.lang.Object
  extended by ome.services.util.DBEnumCheck

public class DBEnumCheck
extends Object

Hook run by the context to guarantee that various enumerations are up to date. This is especially important for changes to bioformats which add readers. Each reader is equivalent to a format ( + "Companion/"). Without such an extension, users are not able to import the latest and greatest without a database upgrade.

Since:
Beta4.1.1
Author:
Josh Moore, josh at glencoesoftware.com

Field Summary
static String insertStatement
           
static org.apache.commons.logging.Log log
           
static Pattern readerClass
           
 
Constructor Summary
DBEnumCheck(Executor executor)
           
 
Method Summary
static List<String> getReaderNames()
           
static boolean requiresCompanion(String name)
           
static boolean shouldBeOmitted(String name)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log

readerClass

public static final Pattern readerClass

insertStatement

public static final String insertStatement
See Also:
Constant Field Values
Constructor Detail

DBEnumCheck

public DBEnumCheck(Executor executor)
Method Detail

getReaderNames

public static List<String> getReaderNames()

requiresCompanion

public static boolean requiresCompanion(String name)

shouldBeOmitted

public static boolean shouldBeOmitted(String name)

start

public void start()
           throws Exception
Throws:
Exception


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.