public abstract class BundleNameInstanceTypeProvider extends Object implements ExtensionPoint
Extension point allowing to customize the support bundle naming strategy.
It will work the following way:
BundleNameInstanceTypeProvider
is found, it will be used.SUPPORT_BUNDLE_NAMING_INSTANCE_SPEC_PROPERTY
system property, and will use its value if provided.for prefixing.
Modifier and Type | Class and Description |
---|---|
static class |
BundleNameInstanceTypeProvider.DEFAULT_STRATEGY |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
BundleNameInstanceTypeProvider() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getInstanceType()
Returns the non-null and non empty (default value is empty) instance type to be used for
generated support bundle names.
|
@NonNull public abstract String getInstanceType()
Aims to provide informational data about the generated bundles.
Will be used for file name generation, so avoid funky characters.
Please ideally stay in [a-zA-Z-_.]
.
Also consider the file name length, you probably want to be defensive
and not return crazily long strings. Something below 20 characters or so might sound reasonable.
Copyright © 2016–2022. All rights reserved.