Class WorkflowResourceBundleLocator
java.lang.Object
de.xima.fc.workflow.processor.logic.WorkflowResourceBundleLocator
- All Implemented Interfaces:
IResourceBundleLocator
- Direct Known Subclasses:
WorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocator
public abstract class WorkflowResourceBundleLocator
extends Object
implements IResourceBundleLocator
Resource bundle locator used that combines the built-in formcycle bundles, and the bundle provided by a workflow node
or trigger plugin.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Resource bundle locator used that combines the built-in formcycle bundles, and the custom bundle provided by a workflow node or trigger plugin. -
Method Summary
Modifier and TypeMethodDescriptioncreateWithCustom
(IResourceBundleLocator customLocator) protected abstract IResourceBundleLocator
final ResourceBundle
getResourceBundle
(Locale locale) Returns a resource bundle for the given locale.
-
Method Details
-
getResourceBundle
Description copied from interface:IResourceBundleLocator
Returns a resource bundle for the given locale.- Specified by:
getResourceBundle
in interfaceIResourceBundleLocator
- Parameters:
locale
- A locale, for which a resource bundle shall be retrieved. Must not benull
.- Returns:
- A resource bundle for the given locale. May be
null
, if no such bundle exists.
-
getCustomLocator
-
createMutable
- Returns:
- A new resource bundle locator that allows the
getCustomLocator()
to be modified.
-
createWithCustom
- Parameters:
customLocator
- Custom locator to use.- Returns:
- A new resource bundle locator with the given custom locator that cannot be modified.
-