| Package | Description |
|---|---|
| org.pf4j.update |
This is the pf4j-update sub project which implements a plugin update mechanism for
Plugin Framework for Java.
|
| org.pf4j.update.verifier |
Implementations of
FileVerifier interface. |
| Modifier and Type | Method and Description |
|---|---|
FileVerifier |
UpdateRepository.getFileVerifier()
Gets a file verifier to execute on the downloaded file for it to be claimed valid.
|
FileVerifier |
DefaultUpdateRepository.getFileVerifier()
Gets a file verifier to execute on the downloaded file for it to be claimed valid.
|
protected FileVerifier |
UpdateManager.getFileVerifier(String pluginId)
Gets a file verifier to use for this plugin.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicVerifier
Verifies that the file exists is a regular file and has a non-null size.
|
class |
CompoundVerifier |
class |
Sha512SumVerifier
Verifies that the SHA512 checksum of a downloaded file equals the checksum given in
the plugins.json descriptor.
|
| Modifier and Type | Field and Description |
|---|---|
static List<FileVerifier> |
CompoundVerifier.ALL_DEFAULT_FILE_VERIFIERS
Default list of verifiers
|
| Modifier and Type | Method and Description |
|---|---|
List<FileVerifier> |
CompoundVerifier.getVerifiers() |
| Modifier and Type | Method and Description |
|---|---|
void |
CompoundVerifier.setVerifiers(List<FileVerifier> verifiers) |
| Constructor and Description |
|---|
CompoundVerifier(List<FileVerifier> verifiers)
Constructs a Compound verifier using the supplied list of verifiers instead of the default ones
|
Copyright © 2020. All rights reserved.