public interface Lockable
| Modifier and Type | Method and Description | 
|---|---|
@NotNull String | 
getLock()
Gets the key needed to access the container. 
 | 
boolean | 
isLocked()
Checks if the container has a valid (non empty) key. 
 | 
void | 
setLock(@Nullable String key)
Sets the key required to access this container. 
 | 
boolean isLocked()
@NotNull @NotNull String getLock()
void setLock(@Nullable
             @Nullable String key)
key - the key required to access the container.Copyright © 2021. All rights reserved.