A C D F G H I L N P R S U V W 

A

addRepository(String, URL) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Add one DefaultUpdateRepository
addRepository(UpdateRepository) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Add a repo that was created by client

C

compareTo(PluginInfo) - Method in class ro.fortsoft.pf4j.update.PluginInfo
 
compareTo(PluginInfo.PluginRelease) - Method in class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
 
copyLocalFile(URL) - Method in class ro.fortsoft.pf4j.update.SimpleFileDownloader
Efficient copy of file in case of local file system

D

date - Variable in class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
 
DefaultUpdateRepository - Class in ro.fortsoft.pf4j.update
 
DefaultUpdateRepository(String, URL) - Constructor for class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
DefaultUpdateRepository(String, URL, String) - Constructor for class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
description - Variable in class ro.fortsoft.pf4j.update.PluginInfo
 
downloadFile(URL) - Method in interface ro.fortsoft.pf4j.update.FileDownloader
Downloads a file to destination.
downloadFile(URL) - Method in class ro.fortsoft.pf4j.update.SimpleFileDownloader
Downloads a file.
downloadFileHttp(URL) - Method in class ro.fortsoft.pf4j.update.SimpleFileDownloader
Downloads file from HTTP or FTP
downloadPlugin(String, String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Downloads a plugin with given coordinates and returns a path to the file

F

FACTORY - Static variable in class ro.fortsoft.pf4j.update.util.LenientDateTypeAdapter
 
FileDownloader - Interface in ro.fortsoft.pf4j.update
Interface to download a file
findUrlForPlugin(String, String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Resolves url from id and version

G

getAvailablePlugins() - Method in class ro.fortsoft.pf4j.update.UpdateManager
 
getFileDownloader() - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
getFileDownloader(String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Finds the FileDownloader to use for this repository
getFileDownloader() - Method in interface ro.fortsoft.pf4j.update.UpdateRepository
Each repository has the option of overriding the download process.
getId() - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
getId() - Method in interface ro.fortsoft.pf4j.update.UpdateRepository
 
getLastRelease(Version) - Method in class ro.fortsoft.pf4j.update.PluginInfo
Returns the last release version of this plugin for given system version, regardless of release date
getPlugin(String) - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
getPlugin(String) - Method in interface ro.fortsoft.pf4j.update.UpdateRepository
Get a particular plugin from this repo
getPlugins() - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
getPlugins() - Method in class ro.fortsoft.pf4j.update.UpdateManager
Get the list of plugins from all repos
getPlugins() - Method in interface ro.fortsoft.pf4j.update.UpdateRepository
Get all plugin descriptors for this repo
getPluginsJsonFileName() - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
getPluginsMap() - Method in class ro.fortsoft.pf4j.update.UpdateManager
Get a map of all plugins from all repos where key is plugin id
getRepositories() - Method in class ro.fortsoft.pf4j.update.UpdateManager
 
getRepositoryId() - Method in class ro.fortsoft.pf4j.update.PluginInfo
 
getRequiresExpression() - Method in class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
Get the required version as a SemVer Expression
getUpdates() - Method in class ro.fortsoft.pf4j.update.UpdateManager
Return a list of plugins that are newer versions of already installed plugins
getUrl() - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
 
getUrl() - Method in interface ro.fortsoft.pf4j.update.UpdateRepository
 

H

hasAvailablePlugins() - Method in class ro.fortsoft.pf4j.update.UpdateManager
 
hasUpdate(Version, Version) - Method in class ro.fortsoft.pf4j.update.PluginInfo
Finds whether the newer version of the plugin
hasUpdates() - Method in class ro.fortsoft.pf4j.update.UpdateManager
Checks if Update Repositories has newer versions of some of the installed plugins

I

id - Variable in class ro.fortsoft.pf4j.update.PluginInfo
 
initRepositoriesFromJson() - Method in class ro.fortsoft.pf4j.update.UpdateManager
 
installPlugin(String, String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Installs a plugin by id and version

L

LenientDateTypeAdapter - Class in ro.fortsoft.pf4j.update.util
Fork of com.google.gson.internal.bind.DateTypeAdapter
LenientDateTypeAdapter() - Constructor for class ro.fortsoft.pf4j.update.util.LenientDateTypeAdapter
 

N

name - Variable in class ro.fortsoft.pf4j.update.PluginInfo
 

P

PluginInfo - Class in ro.fortsoft.pf4j.update
PluginInfo describing a plugin from a repo
PluginInfo() - Constructor for class ro.fortsoft.pf4j.update.PluginInfo
 
PluginInfo.PluginRelease - Class in ro.fortsoft.pf4j.update
 
PluginInfo.PluginRelease() - Constructor for class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
 
pluginManager - Variable in class ro.fortsoft.pf4j.update.UpdateManager
 
projectUrl - Variable in class ro.fortsoft.pf4j.update.PluginInfo
 
provider - Variable in class ro.fortsoft.pf4j.update.PluginInfo
 

R

read(JsonReader) - Method in class ro.fortsoft.pf4j.update.util.LenientDateTypeAdapter
 
refresh() - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
Causes plugins.json to be read again to look for new updates from repos
refresh() - Method in class ro.fortsoft.pf4j.update.UpdateManager
Refreshes all repositories, so they are forced to refresh list of plugins
refresh() - Method in interface ro.fortsoft.pf4j.update.UpdateRepository
Flushes cached info to force re-fetching repository state on next get
releases - Variable in class ro.fortsoft.pf4j.update.PluginInfo
 
removeRepository(String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Remove a repository by id
repositories - Variable in class ro.fortsoft.pf4j.update.UpdateManager
 
requires - Variable in class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
 
ro.fortsoft.pf4j.update - package ro.fortsoft.pf4j.update
 
ro.fortsoft.pf4j.update.util - package ro.fortsoft.pf4j.update.util
 

S

setPluginsJsonFileName(String) - Method in class ro.fortsoft.pf4j.update.DefaultUpdateRepository
Choose another file name than plugins.json
setRepositories(List<UpdateRepository>) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Replace all repositories
setRepositoryId(String) - Method in class ro.fortsoft.pf4j.update.PluginInfo
 
SimpleFileDownloader - Class in ro.fortsoft.pf4j.update
Downloads a file from a URL.
SimpleFileDownloader() - Constructor for class ro.fortsoft.pf4j.update.SimpleFileDownloader
 

U

uninstallPlugin(String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
 
UpdateManager - Class in ro.fortsoft.pf4j.update
 
UpdateManager(PluginManager) - Constructor for class ro.fortsoft.pf4j.update.UpdateManager
 
UpdateManager(PluginManager, Path) - Constructor for class ro.fortsoft.pf4j.update.UpdateManager
 
UpdateManager(PluginManager, List<UpdateRepository>) - Constructor for class ro.fortsoft.pf4j.update.UpdateManager
 
updatePlugin(String, String) - Method in class ro.fortsoft.pf4j.update.UpdateManager
Updates a plugin id to given version or to latest version if version == null
UpdateRepository - Interface in ro.fortsoft.pf4j.update
Contract for update repositories
url - Variable in class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
 

V

validateDownload(URL, Path) - Method in class ro.fortsoft.pf4j.update.SimpleFileDownloader
Succeeds if downloaded file exists and has size > 0
version - Variable in class ro.fortsoft.pf4j.update.PluginInfo.PluginRelease
 

W

write(JsonWriter, Date) - Method in class ro.fortsoft.pf4j.update.util.LenientDateTypeAdapter
 
A C D F G H I L N P R S U V W 

Copyright © 2017. All Rights Reserved.