wt.dataops.archive.ixutil
Class IXArchiveRestoreApplication
java.lang.Object
wt.dataops.archive.ixutil.IXArchiveRestoreApplication
- public class IXArchiveRestoreApplication
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
archiveLogLevel
private static int archiveLogLevel
restoreLogLevel
private static int restoreLogLevel
DEFAULT_LOG_LEVEL
private static int DEFAULT_LOG_LEVEL
basicHintsFile
private File basicHintsFile
secondaryHintsFile
private File secondaryHintsFile
BASIC_INDEXING_HINTS_NAME
private static final String BASIC_INDEXING_HINTS_NAME
- See Also:
- Constant Field Values
SECONDARY_INDEXING_HINTS_NAME
private static final String SECONDARY_INDEXING_HINTS_NAME
- See Also:
- Constant Field Values
VERBOSE
private static boolean VERBOSE
IXArchiveRestoreApplication
public IXArchiveRestoreApplication()
performArchive
public IXArchiveRestoreStatus performArchive(Archiveable[] objects,
File basicHints,
File secondaryHints,
File saveAsFile)
throws WTException
- Archives business objects and 2 "indexing hints" files, to be stored in archive system
- Parameters:
objects
- Objects to archivesaveAsFile
- Location of resulting archive file.
- Returns:
- Status of the operation. IXArchiveRestoreStatus has methods to obtain log messages
from IX handlers and the total size of the content of jar file.
- Throws:
WTException
performRestore
public IXArchiveRestoreStatus performRestore(File archiveFile)
throws WTException
- Throws:
WTException
PP
private void PP(String s)
PP_messages
private void PP_messages(IXArchiveRestoreStatus status)