Package jenkins.branch
Class MultiBranchProjectDescriptor.ChildNameGeneratorImpl<P extends Job<P,R> & TopLevelItem,R extends Run<P,R>>
java.lang.Object
com.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P,R>,P>
jenkins.branch.MultiBranchProjectDescriptor.ChildNameGeneratorImpl<P,R>
- Enclosing class:
- MultiBranchProjectDescriptor
public static class MultiBranchProjectDescriptor.ChildNameGeneratorImpl<P extends Job<P,R> & TopLevelItem,R extends Run<P,R>>
extends com.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P,R>,P>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.hudson.plugins.folder.ChildNameGenerator
com.cloudbees.hudson.plugins.folder.ChildNameGenerator.Trace
-
Field Summary
Fields inherited from class com.cloudbees.hudson.plugins.folder.ChildNameGenerator
CHILD_NAME_FILE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondirNameFromItem
(MultiBranchProject<P, R> parent, P item) dirNameFromLegacy
(MultiBranchProject<P, R> parent, String legacyDirName) itemNameFromItem
(MultiBranchProject<P, R> parent, P item) itemNameFromLegacy
(MultiBranchProject<P, R> parent, String legacyDirName) void
recordLegacyName
(MultiBranchProject<P, R> parent, P item, String legacyDirName) Methods inherited from class com.cloudbees.hudson.plugins.folder.ChildNameGenerator
beforeCreateItem, idealNameFromItem
-
Constructor Details
-
ChildNameGeneratorImpl
public ChildNameGeneratorImpl()
-
-
Method Details
-
itemNameFromItem
@CheckForNull public String itemNameFromItem(@NonNull MultiBranchProject<P, R> parent, @NonNull P item) - Specified by:
itemNameFromItem
in classcom.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P extends Job<P,
R> & TopLevelItem, R extends Run<P, R>>, P extends Job<P, R> & TopLevelItem>
-
dirNameFromItem
@CheckForNull public String dirNameFromItem(@NonNull MultiBranchProject<P, R> parent, @NonNull P item) - Specified by:
dirNameFromItem
in classcom.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P extends Job<P,
R> & TopLevelItem, R extends Run<P, R>>, P extends Job<P, R> & TopLevelItem>
-
itemNameFromLegacy
@NonNull public String itemNameFromLegacy(@NonNull MultiBranchProject<P, R> parent, @NonNull String legacyDirName) - Specified by:
itemNameFromLegacy
in classcom.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P extends Job<P,
R> & TopLevelItem, R extends Run<P, R>>, P extends Job<P, R> & TopLevelItem>
-
dirNameFromLegacy
@NonNull public String dirNameFromLegacy(@NonNull MultiBranchProject<P, R> parent, @NonNull String legacyDirName) - Specified by:
dirNameFromLegacy
in classcom.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P extends Job<P,
R> & TopLevelItem, R extends Run<P, R>>, P extends Job<P, R> & TopLevelItem>
-
recordLegacyName
public void recordLegacyName(MultiBranchProject<P, R> parent, P item, String legacyDirName) throws IOException- Specified by:
recordLegacyName
in classcom.cloudbees.hudson.plugins.folder.ChildNameGenerator<MultiBranchProject<P extends Job<P,
R> & TopLevelItem, R extends Run<P, R>>, P extends Job<P, R> & TopLevelItem> - Throws:
IOException
-