@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) private final class PromptingKeyProvider.WriteController extends PromptingKeyProvider.BaseController
| Constructor and Description |
|---|
PromptingKeyProvider.WriteController(PromptingKeyProvider.State state) |
| Modifier and Type | Method and Description |
|---|---|
void |
setChangeRequested(boolean changeRequested)
Requests to prompt the user for a new key upon the next call to
SafeKeyProvider.getWriteKey(), provided that the key is
set by then. |
close, getKey, getResource, setKeyPromptingKeyProvider.WriteController(PromptingKeyProvider.State state)
public void setChangeRequested(boolean changeRequested)
PromptingKeyProvider.ControllerSafeKeyProvider.getWriteKey(), provided that the key is
set by then.setChangeRequested in interface PromptingKeyProvider.Controller<K extends SafeKey<K>>setChangeRequested in class PromptingKeyProvider.BaseControllerchangeRequested - whether or not the user shall get prompted
for a new key upon the next call to SafeKeyProvider.getWriteKey(),
provided that the key is set then.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.