com.application.areca
Class AbstractMedium

java.lang.Object
  extended by com.application.areca.AbstractMedium
All Implemented Interfaces:
ArchiveMedium, Duplicable
Direct Known Subclasses:
AbstractFileSystemMedium

public abstract class AbstractMedium
extends java.lang.Object
implements ArchiveMedium


Author:
Olivier PETRUCCI

Areca Build ID : 7299034069467778562

Field Summary
protected  History history
          Historique
protected static java.lang.String HISTORY_NAME
          Nom du fichier d'historique
protected  FileSystemRecoveryTarget target
           
 
Constructor Summary
AbstractMedium()
           
 
Method Summary
protected  void copyAttributes(java.lang.Object clone)
           
 boolean equals(java.lang.Object arg0)
           
 java.lang.String getHistoryName()
           
 AbstractRecoveryTarget getTarget()
          Return the target to which the medium is bound
 int hashCode()
           
 void install()
          Set up all necessary objects for the medium (for instance file system drivers)
protected  EntryArchiveData[] processEntryArchiveData(EntryArchiveData[] data)
          Construit une liste de EAD ordonnee et dont les status sont a jour a partir de la liste d'entree data.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.application.areca.ArchiveMedium
checkArchives, checkMediumState, closeSimulation, commitBackup, commitMerge, computeIndicators, deleteArchives, destroyRepository, doAfterDelete, doBeforeDelete, getDescription, getEntries, getHistory, getHistory, getLogicalView, isPreBackupCheckUseful, merge, open, recover, rollbackBackup, rollbackMerge, search, setTarget, simulateEntryProcessing, store, supportsBackupScheme
 
Methods inherited from interface com.myJava.object.Duplicable
duplicate
 

Field Detail

target

protected FileSystemRecoveryTarget target

history

protected History history
Historique


HISTORY_NAME

protected static final java.lang.String HISTORY_NAME
Nom du fichier d'historique

See Also:
Constant Field Values
Constructor Detail

AbstractMedium

public AbstractMedium()
Method Detail

install

public void install()
             throws ApplicationException
Description copied from interface: ArchiveMedium
Set up all necessary objects for the medium (for instance file system drivers)

Specified by:
install in interface ArchiveMedium
Throws:
ApplicationException

copyAttributes

protected void copyAttributes(java.lang.Object clone)

getTarget

public AbstractRecoveryTarget getTarget()
Description copied from interface: ArchiveMedium
Return the target to which the medium is bound

Specified by:
getTarget in interface ArchiveMedium

getHistoryName

public java.lang.String getHistoryName()

processEntryArchiveData

protected EntryArchiveData[] processEntryArchiveData(EntryArchiveData[] data)
Construit une liste de EAD ordonnee et dont les status sont a jour a partir de la liste d'entree data.

Parameters:
data -
Returns:

equals

public boolean equals(java.lang.Object arg0)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object