org.mesopotamia
Class Repository

java.lang.Object
  extended by org.mesopotamia.Repository

public class Repository
extends java.lang.Object

Author:
Pavel Vlasov

Method Summary
 Scan createScan(SourceIterator sourceIterator, LanguageSelector selector, java.lang.String description, java.lang.String checkSumName, java.lang.Object environment, ScanLoadListener listener)
           
 void delete()
          Removes all scans and repository from the database.
 java.lang.String getDescription()
           
 RepositoryFactory getFactory()
           
 int getId()
           
 java.lang.String getName()
           
 java.util.Collection<Scan> getScans()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public RepositoryFactory getFactory()

getDescription

public java.lang.String getDescription()

getId

public int getId()

getName

public java.lang.String getName()

getScans

public java.util.Collection<Scan> getScans()
                                    throws MesopotamiaException
Throws:
MesopotamiaException

createScan

public Scan createScan(SourceIterator sourceIterator,
                       LanguageSelector selector,
                       java.lang.String description,
                       java.lang.String checkSumName,
                       java.lang.Object environment,
                       ScanLoadListener listener)
                throws MesopotamiaException
Throws:
MesopotamiaException

delete

public void delete()
            throws MesopotamiaException
Removes all scans and repository from the database.

Throws:
MesopotamiaException


Copyright © 2005 Hammurapi Group. All Rights Reserved.