Package jenkins.branch
Class BranchIndexingCause
- java.lang.Object
-
- hudson.model.Cause
-
- jenkins.branch.BranchIndexingCause
-
public final class BranchIndexingCause extends Cause
Declares that a build was due to branch indexing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIndexingUrl()
MultiBranchProject<?,?>
getMultiBranchProject()
Gets the associated multibranch project.String
getShortDescription()
void
onAddedTo(Run build)
void
onLoad(Run<?,?> build)
-
-
-
Method Detail
-
getMultiBranchProject
@CheckForNull public MultiBranchProject<?,?> getMultiBranchProject()
Gets the associated multibranch project.- Returns:
- the multibranch project (nonnull unless deleted before restart)
-
getIndexingUrl
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @CheckForNull public String getIndexingUrl()
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCause
-
-