Package com.cloudbees.jenkins.support
Class BundleNameInstanceTypeProvider.DEFAULT_STRATEGY
java.lang.Object
com.cloudbees.jenkins.support.BundleNameInstanceTypeProvider
com.cloudbees.jenkins.support.BundleNameInstanceTypeProvider.DEFAULT_STRATEGY
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- BundleNameInstanceTypeProvider
@Extension(ordinal=-2.147483648E9)
public static final class BundleNameInstanceTypeProvider.DEFAULT_STRATEGY
extends BundleNameInstanceTypeProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.BundleNameInstanceTypeProvider
BundleNameInstanceTypeProvider.DEFAULT_STRATEGY
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the non-null and non empty (default value is empty) instance type to be used for generated support bundle names.
-
Constructor Details
-
DEFAULT_STRATEGY
public DEFAULT_STRATEGY()
-
-
Method Details
-
getInstanceType
Description copied from class:BundleNameInstanceTypeProvider
Returns the non-null and non empty (default value is empty) instance type to be used for generated support bundle names.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.- Specified by:
getInstanceType
in classBundleNameInstanceTypeProvider
- Returns:
- the instance type specification to be used for generated support bundles.
-