Come join us on November 27-29, 2018 at the Gartner Application Strategies & Solutions Summit 2018 in Las Vegas, USA.

Skip to end of metadata
Go to start of metadata

Description

  • org.joget.apps.app.service.AppPluginUtil
  • Under wflow-core module
  • Utility class to retrieve plugin propertise value and i18n message 

Code Sample

Methods

getApplicationContext
public static org.springframework.context.ApplicationContext getApplicationContext()

Utility method to retrieve the ApplicationContext of the system

getDefaultProperties
public static java.util.Map getDefaultProperties(org.joget.plugin.base.Plugin plugin, java.lang.String properties, org.joget.apps.app.model.AppDefinition appDef)

Method to retrieve the final plugin properties value by passing the configured properties to override the default plugin properties in an App

getDefaultProperties
public static java.util.Map getDefaultProperties(org.joget.plugin.base.Plugin plugin, java.lang.String properties, org.joget.apps.app.model.AppDefinition appDef, org.joget.workflow.model.WorkflowAssignment assignment)

Method to retrieve the final plugin properties value by passing the configured properties to override the default plugin properties in an App.

Options to pass in WorkflowAssignment object for Hash Variable parsing.

getDefaultProperties
public static java.util.Map getDefaultProperties(org.joget.plugin.base.Plugin plugin, java.util.Map propertyMap, org.joget.apps.app.model.AppDefinition appDef, org.joget.workflow.model.WorkflowAssignment assignment)

Method to retrieve the final plugin properties value by passing the configured properties to override the default plugin properties in an App.

Options to pass in WorkflowAssignment object for Hash Variable parsing.

getMessage
public static java.lang.String getMessage(java.lang.String key, java.lang.String pluginName, java.lang.String translationPath)

Method to get a message from a plugin messages bundle

  • No labels