|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.rules.ModusOperandi
Class describing what has to be done and how to do it.
Nested Class Summary | |
static class |
ModusOperandi.Opus
Class defining which mode of operation is required: typically one of "archiving", "extracting", etc. |
Field Summary | |
static ModusOperandi.Opus |
ARCHIVING
Archiving mode of operation. |
static ModusOperandi.Opus |
BENCHMARKING
Benchmarking mode of operation. |
static ModusOperandi.Opus |
CHECKING
Probing mode of operation. |
static ModusOperandi.Opus |
COMPARING
Comparing mode of operation. |
static ModusOperandi.Opus |
DESCRIBING
Describing mode of operation. |
static ModusOperandi.Opus |
EXTRACTING
Extracting mode of operation. |
static ModusOperandi.Opus |
FRESHENING
Freshening mode of operation. |
static ModusOperandi.Opus |
HELPING
Helping mode of operation. |
static ModusOperandi.Opus |
LISTING
Listing mode of operation. |
static ModusOperandi.Opus |
OVERWRITING
Overwriting mode of operation. |
Constructor Summary | |
ModusOperandi()
|
Method Summary | |
java.io.File |
archive()
|
long |
archiveSerialNumber()
Sets the serial number of the archive |
int |
blockSize()
|
boolean |
checkLayoutVersion()
Checks wether the layout of the archive can be handled by this version of the application |
boolean |
checkSamVersion()
Checks wether the data stored in the archive can be processed by this version of the application |
sam.cipher.Cipher[] |
ciphers()
Gets the ciphers stack. |
java.lang.String |
comment()
|
java.lang.String |
creatorGroup()
|
java.lang.String |
creatorUser()
|
int |
executePostCommand()
|
sam.entry.List |
files()
|
boolean |
hasImportedArchive()
|
int |
horizontalThreads()
|
java.io.File |
importedArchive()
|
sam.entry.List |
importedFiles()
|
java.lang.String |
infos()
Prints a short summary of all settings |
boolean |
isArchiving()
|
boolean |
isExtracting()
|
boolean |
isSpecial()
|
sam.entry.List |
newerFiles()
|
sam.event.EventNotifier |
notifier()
|
java.io.File |
outputDirectory()
|
sam.io.Packer |
packer()
|
void |
process(sam.rules.RuleSet ruleSet)
Processes specified rule set |
sam.entry.Enumerator |
removedFiles()
|
sam.entry.List |
setToBeProcessedFiles(sam.entry.List files)
Sets the list of files that actually will be processed. |
java.io.File |
temporaryDirectory()
|
sam.io.Tracker |
tracker()
|
int |
verticalThreads()
|
sam.entry.List |
wildcards()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ModusOperandi.Opus ARCHIVING
public static final ModusOperandi.Opus EXTRACTING
Settings.Constants#ASK_BEFORE_OVERWRITING_LOCAL_FILES
public static final ModusOperandi.Opus LISTING
Entry.list(sam.rules.ModusOperandi)
public static final ModusOperandi.Opus FRESHENING
public static final ModusOperandi.Opus OVERWRITING
public static final ModusOperandi.Opus COMPARING
public static final ModusOperandi.Opus BENCHMARKING
public static final ModusOperandi.Opus CHECKING
public static final ModusOperandi.Opus HELPING
public static final ModusOperandi.Opus DESCRIBING
Constructor Detail |
public ModusOperandi()
Method Detail |
public void process(sam.rules.RuleSet ruleSet)
public boolean isArchiving()
public boolean isExtracting()
public boolean isSpecial()
public sam.event.EventNotifier notifier()
public java.io.File archive()
public java.io.File outputDirectory()
public java.io.File importedArchive()
public boolean hasImportedArchive()
public sam.entry.List importedFiles()
public java.io.File temporaryDirectory()
public sam.io.Packer packer()
null
public sam.io.Tracker tracker()
null
public int blockSize()
public int verticalThreads()
public int horizontalThreads()
public java.lang.String comment()
public boolean checkSamVersion()
public boolean checkLayoutVersion()
public long archiveSerialNumber()
public java.lang.String creatorUser()
public java.lang.String creatorGroup()
public int executePostCommand() throws SyntaxError
SyntaxError
public java.lang.String infos()
public sam.cipher.Cipher[] ciphers()
public sam.entry.List wildcards()
public sam.entry.List files()
public sam.entry.Enumerator removedFiles()
sam.entry.Enumerator
of all the files that have been removed
since the previous backup of a differential set
The returned sam.entry.Enumerator
is independant of the internal enumeration of files
public sam.entry.List newerFiles()
sam.entry.Enumerator
of all the files that have been modified
since the previous backup of a differential set
The returned sam.entry.Enumerator
is independant of the internal enumeration of files
public sam.entry.List setToBeProcessedFiles(sam.entry.List files)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |