Uses of Class
de.xima.fc.plugin.runtime.PluginRuntime
-
-
Uses of PluginRuntime in de.xima.fc.gui.bean.plugin
Methods in de.xima.fc.gui.bean.plugin that return types with arguments of type PluginRuntime Modifier and Type Method Description protected abstract Set<PluginRuntime>
BasicPluginBean. getAllPluginRuntimes()
protected Set<PluginRuntime>
ClientPluginBean. getAllPluginRuntimes()
protected Set<PluginRuntime>
SystemPluginBean. getAllPluginRuntimes()
Methods in de.xima.fc.gui.bean.plugin with parameters of type PluginRuntime Modifier and Type Method Description abstract List<PluginDependencies>
BasicPluginBean. createPluginDependencies(PluginRuntime runtime)
This method creates a list of plugin dependencies.List<PluginDependencies>
ClientPluginBean. createPluginDependencies(PluginRuntime runtime)
List<PluginDependencies>
SystemPluginBean. createPluginDependencies(PluginRuntime runtime)
-
Uses of PluginRuntime in de.xima.fc.gui.model
Methods in de.xima.fc.gui.model that return PluginRuntime Modifier and Type Method Description PluginRuntime
PluginWrapperModel. getPluginRuntime()
PluginRuntime
PluginWrapperModel. getTempRuntime()
Methods in de.xima.fc.gui.model with parameters of type PluginRuntime Modifier and Type Method Description void
PluginWrapperModel. setTempRuntime(PluginRuntime tempRuntime)
Constructors in de.xima.fc.gui.model with parameters of type PluginRuntime Constructor Description PluginWrapperModel(Locale locale, PluginRuntime pluginRuntime, IGenericDao<E> dao)
Creates a new plugin wrapper for a given plugin runtime and database access object. -
Uses of PluginRuntime in de.xima.fc.plugin
Methods in de.xima.fc.plugin that return PluginRuntime Modifier and Type Method Description static PluginRuntime
PluginManager. getPluginRuntime(String scopeKey, String runtimeKey)
static PluginRuntime
PluginManager. initClientPlugin(File pluginJar, Mandant man)
Deprecated.static PluginRuntime
PluginManager. initSystemPlugin(File pluginJar)
Deprecated.Methods in de.xima.fc.plugin that return types with arguments of type PluginRuntime Modifier and Type Method Description static Closable<PluginRuntime>
PluginHelper. createTempRuntime(IThrowingSupplier<InputStream> data, String name, String scopeKey, String runtimeKey, boolean instantiate)
Creates a temporary runtime that can be used e.g.static Closable<PluginRuntime>
PluginHelper. createTempRuntime(InputStream input, String name, String scopeKey, String runtimeKey, boolean instantiate)
Creates a temporary runtime that can be used e.g.static Closable<PluginRuntime>
PluginHelper. createTempRuntime(Path jarFile, String name, String scopeKey, String runtimeKey, boolean instantiate)
Creates a temporary runtime that can be used e.g.static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>>PluginManager. getAllPluginsWithRuntime(Mandant man, Class<T> clazz)
static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>>PluginManager. getAllPluginsWithRuntime(UUID clientUuid, Class<T> clazz)
static Set<PluginRuntime>
PluginManager. getClientPlugins(Mandant client)
Gets a list of allplugin runtimes
registered to the given client (not including system plugins!)static Set<PluginRuntime>
PluginManager. getClientPlugins(UUID clientUuid)
Gets a list of allplugin runtimes
registered to the given client (not including system plugins!)static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>>PluginManager. getClientPluginsWithRuntime(Mandant client, Class<T> clazz)
static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>>PluginManager. getClientPluginsWithRuntime(UUID clientUuid, Class<T> clazz)
static List<PluginRuntime>
PluginManager. getMandantPlugins(Mandant man)
Deprecated.static org.apache.commons.lang3.tuple.Pair<PluginRuntime,IPluginAuthenticatorType>
PluginManager. getPluginAuthenticatorTypeWithRuntime(IAuthenticator<?> authenticator)
static <T extends IFCPlugin>
org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>PluginManager. getPluginByNameWithRuntime(Mandant man, Class<T> clazz, String pluginName)
static Set<PluginRuntime>
PluginManager. getSystemPlugins()
Get a List of allPluginRuntime
s registered in system-scopestatic <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>>PluginManager. getSystemPluginsWithRuntime(Class<T> clazz)
Methods in de.xima.fc.plugin with parameters of type PluginRuntime Modifier and Type Method Description static <T extends IFCPlugin>
booleanPluginHelper. canPluginBeRegistered(PluginRuntime prtm, Class<T> pluginClass)
static byte[]
PluginHelper. createDefaultPluginConfig(PluginRuntime runtime)
Creates the default plugin configuration data for a given plugin runtime, suitable forIFileEntity.setNewData(byte[])
.static void
PluginHelper. createPluginErrorProtocolEntry(PluginRuntime pluginRuntime, DefaultPluginLifecycleData lifecycleData, Throwable error, boolean install, boolean initialize)
static void
PluginManager. deletePlugin(PluginRuntime prtm)
Deprecated.static List<? extends Class<? extends IFCPlugin>>
PluginHelper. getAllPlugins(PluginRuntime pluginRuntime)
static File
PluginHelper. getPluginFolder(PluginRuntime runtime)
Deprecated.static File
PluginHelper. getPluginJarFile(PluginRuntime rtm)
Deprecated.static PluginManifest
PluginHelper. getPluginManifest(PluginRuntime pluginRuntime)
Reads the manifest from the JAR file of the given plugin runtime.static File
PluginHelper. getPluginMetaFile(PluginRuntime rtm)
Deprecated.static de.xima.cmn.props.FileBasedPropertiesConfiguration
PluginHelper. getPluginProperties(PluginRuntime rtm)
Deprecated.static File
PluginHelper. getPluginPropertiesFile(PluginRuntime rtm)
Deprecated.static <M extends IExtendedParameterModel>
List<M>PluginHelper. readParameterModels(PluginRuntime runtime, Locale locale, com.alibaba.fastjson.util.BiFunction<String,String,M> modelFactory)
Creates the parameter models for a plugin.static <M extends IExtendedParameterModel>
List<M>PluginHelper. readParameterModels(PluginRuntime runtime, Properties persistedProperties, Locale locale, com.alibaba.fastjson.util.BiFunction<String,String,M> modelFactory)
Creates the parameter models for a plugin.static <T extends IFCPlugin>
TPluginHelper. registerPlugin(boolean install, boolean initialize, PluginRuntime prtm, Class<T> clazz)
static <T extends IFCPlugin>
voidPluginManager. registerPlugin(boolean isInstall, PluginRuntime prtm, Class<T> clazz)
Register a plugin to the given key andPluginRuntime
static <T extends IFCPlugin>
voidPluginManager. registerPlugin(PluginRuntime prtm, Class<T> clazz)
static void
PluginManager. releaseMandantPlugin(Mandant man, PluginRuntime pluginMeta)
Deprecated.static void
PluginManager. releasePlugin(boolean isUninstall, PluginRuntime prtm)
static void
PluginManager. releasePlugin(PluginRuntime prtm)
static void
PluginHelper. savePluginProperties(PluginRuntime rtm, Properties props)
Deprecated.static boolean
PluginManager. scanAndRegisterMandantPlugin(Mandant man, PluginRuntime pluginMeta, byte[] jarData)
Deprecated.static boolean
PluginManager. scanAndRegisterSystemPlugin(PluginRuntime pluginMeta, byte[] jarData)
Deprecated.static List<IPluginInitializeValidationResult>
PluginHelper. validateConfiguration(PluginRuntime runtime, Locale locale)
Validates the configuration of the given plugin bundle against all available validation checks.static List<IPluginInitializeValidationResult>
PluginHelper. validateConfiguration(PluginRuntime runtime, Properties properties, Locale locale)
Validates the configuration of the given plugin bundle against all available validation checks, using a specified set of saved plugin properties.static List<IPluginInitializeValidationResult>
PluginHelper. validateConfigurationAgainstValidationCallback(PluginRuntime runtime, Locale locale)
Validates the configuration of the given plugin bundle viaIFCPlugin#validateConfigurationData
.static List<IPluginInitializeValidationResult>
PluginHelper. validateConfigurationAgainstValidationCallback(PluginRuntime runtime, Properties properties, Locale locale)
Validates the configuration of the given plugin bundle viaIFCPlugin#validateConfigurationData
. -
Uses of PluginRuntime in de.xima.fc.plugin.entities
Methods in de.xima.fc.plugin.entities that return PluginRuntime Modifier and Type Method Description PluginRuntime
EntitiesRuntime. getPluginRuntime()
Methods in de.xima.fc.plugin.entities with parameters of type PluginRuntime Modifier and Type Method Description static EntitiesRuntime
EntitiesRuntimeManager. getRuntime(PluginRuntime runtime)
static void
EntitiesRuntimeManager. initRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin)
static void
EntitiesRuntimeManager. shutdownRuntime(PluginRuntime pluginRuntime)
Constructors in de.xima.fc.plugin.entities with parameters of type PluginRuntime Constructor Description EntitiesRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin)
Creates a new entities runtime with the given plugin. -
Uses of PluginRuntime in de.xima.fc.plugin.helper
Methods in de.xima.fc.plugin.helper with parameters of type PluginRuntime Modifier and Type Method Description static IPluginFileHelper
PluginFileHelper. createFacade(PluginRuntime runtime)
Creates a new plugin file helper that delegates to the given runtime.static IPluginResourceHelper
PluginResourceHelper. createFacade(PluginRuntime runtime)
static void
PluginFileHelper. deletePluginFiles(PluginRuntime prtm)
static File
PluginFileHelper. getPluginFolder(PluginRuntime runtime)
The path to the folder with all plugin files, such as/tmp/formcycle/system/04ed
.static File
PluginFileHelper. getPluginJarFile(PluginRuntime runtime)
The path to the JAR file of the plugin, such as/tmp/formcycle/system/04ed/plugin.jar
.static File
PluginFileHelper. getPluginJarUnpackedDir(PluginRuntime runtime)
The base directory with all files from an unpacked JAR, such as/tmp/formcycle/system/04ed/plugin
.static File
PluginFileHelper. getPluginMetaFile(PluginRuntime rtm)
static de.xima.cmn.props.FileBasedPropertiesConfiguration
PluginPropertiesHelper. getPluginProperties(PluginRuntime rtm)
static File
PluginFileHelper. getPluginPropertiesFile(PluginRuntime rtm)
static String
PluginResourceHelper. i18n(PluginRuntime runtime, String resourceBundleName, Locale loc, String key)
static String
PluginResourceHelper. i18n(PluginRuntime runtime, String resourceBundleName, Locale loc, String key, Object... params)
static void
PluginPropertiesHelper. savePluginProperties(PluginRuntime rtm, Properties props)
-
Uses of PluginRuntime in de.xima.fc.plugin.lifecycle
Methods in de.xima.fc.plugin.lifecycle with parameters of type PluginRuntime Modifier and Type Method Description static void
PluginLifecycleEventManager. fireEvent(EPluginLifecycleEvent event, PluginRuntime pluginRuntime, IFCPlugin plugin)
Calls all registered events listeners for the given event.void
IPluginLifecycleListener. handleEvent(EPluginLifecycleEvent event, PluginRuntime pluginRuntime, TPlugin plugin)
The callback method that is invoked when the event occurred for which this listener was registered.Constructors in de.xima.fc.plugin.lifecycle with parameters of type PluginRuntime Constructor Description DefaultPluginLifecycleData(PluginRuntime runtime)
DefaultPluginValidationData(PluginRuntime runtime, Properties properties, Locale locale)
Creates a new plugin validation data instance with the given data. -
Uses of PluginRuntime in de.xima.fc.portal
Methods in de.xima.fc.portal with parameters of type PluginRuntime Modifier and Type Method Description static PortalRuntime
PortalManager. getPortal(PluginRuntime runtime)
static void
PortalManager. initPortal(PluginRuntime prtm, IPluginPortal plugin)
-
Uses of PluginRuntime in de.xima.fc.portal.runtime
Methods in de.xima.fc.portal.runtime that return PluginRuntime Modifier and Type Method Description PluginRuntime
PortalRuntime. getPluginRuntime()
Constructors in de.xima.fc.portal.runtime with parameters of type PluginRuntime Constructor Description PortalRuntime(PluginRuntime prtm, IPluginPortal plugin)
Creates a new runtime for a given portal plugin. -
Uses of PluginRuntime in de.xima.fc.proma.util
Methods in de.xima.fc.proma.util with parameters of type PluginRuntime Modifier and Type Method Description static <R> StageChain<org.apache.commons.lang3.tuple.Pair<EPluginUpdateAvailability,String>,R>
PromaPluginUpdateCheck. fetchPluginUpdateStatus(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, String licenseKey)
This method retrieves the update status of the specified plugin.static <R> StageChain<PluginUpdateMetadata,R>
PromaPluginUpdateCheck. getPluginMetadata(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource storeItem, String licenseKey)
This method returns a model class for caching the plugin meta data based on the plugin data passed.static <R> StageChain<PluginUpdateMetadata,R>
PromaPluginUpdateCheck. getPluginMetadata(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, String licenseKey)
This method returns a model class for caching the plugin meta data based on the plugin data passed.
-