public interface PropertyBuilder
withProperty(String, String)| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME
The name of the host component bean, usually the Spring bean identifier
|
static String |
CONTEXT_CLASS_LOADER_STRATEGY
The context class loader strategy to use for managing the CCL when invoking host component methods
|
static String |
TRACK_BUNDLE
Whether the host component should track the bundle invoking component methods
|
| Modifier and Type | Method and Description |
|---|---|
PropertyBuilder |
withContextClassLoaderStrategy(ContextClassLoaderStrategy strategy)
Sets the strategy to use for context classloader management
|
PropertyBuilder |
withName(String name)
Sets the bean name of the host component
|
PropertyBuilder |
withProperty(String name,
String value)
Sets an arbitrary property to register with the host component
|
PropertyBuilder |
withTrackBundleEnabled(boolean enabled)
Sets whether bundle tracking is enabled
|
static final String BEAN_NAME
static final String CONTEXT_CLASS_LOADER_STRATEGY
static final String TRACK_BUNDLE
CallingBundleAccessor,
Constant Field ValuesPropertyBuilder withName(String name)
name - The namePropertyBuilder withContextClassLoaderStrategy(ContextClassLoaderStrategy strategy)
strategy - The strategy to usePropertyBuilder withTrackBundleEnabled(boolean enabled)
enabled - true if tracking should be enabled, false otherwisePropertyBuilder withProperty(String name, String value)
name - The property namevalue - The property valueCopyright © 2019 Atlassian. All rights reserved.