public enum KeyProviderSyncStrategy extends Enum<KeyProviderSyncStrategy>
Enum Constant and Description |
---|
RESET_CANCELLED_KEY
Calls
PromptingKeyProvider.resetCancelledKey()
if and only if the given provider is a PromptingKeyProvider . |
RESET_UNCONDITIONALLY
Calls
PromptingKeyProvider.resetUnconditionally()
if and only if the given provider is a PromptingKeyProvider . |
Modifier and Type | Method and Description |
---|---|
abstract void |
sync(KeyProvider<?> provider)
This method gets called upon a call to
KeyController.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>)
after a successful synchronization of an encrypted ZIP file. |
static KeyProviderSyncStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyProviderSyncStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyProviderSyncStrategy RESET_CANCELLED_KEY
PromptingKeyProvider.resetCancelledKey()
if and only if the given provider is a PromptingKeyProvider
.public static final KeyProviderSyncStrategy RESET_UNCONDITIONALLY
PromptingKeyProvider.resetUnconditionally()
if and only if the given provider is a PromptingKeyProvider
.public abstract void sync(KeyProvider<?> provider)
KeyController.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>)
after a successful synchronization of an encrypted ZIP file.provider
- the key provider for the encrypted ZIP file which has
been successfully synchronized.public static KeyProviderSyncStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static KeyProviderSyncStrategy[] values()
for (KeyProviderSyncStrategy c : KeyProviderSyncStrategy.values()) System.out.println(c);
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.