Skip to content

Commit

Permalink
[JENKINS-29705] Exposed thread dump over HTTP
Browse files Browse the repository at this point in the history
Originally-Committed-As: 5e8fdbdc91f9539324a7a57e1e97ef70f813351f
  • Loading branch information
kohsuke committed Nov 16, 2015
1 parent 875ca19 commit 649990e
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -26,6 +26,7 @@

import com.google.common.util.concurrent.ListenableFuture;
import hudson.Util;
import hudson.model.Action;
import hudson.model.Executor;
import jenkins.model.CauseOfInterruption;
import org.jenkinsci.plugins.workflow.actions.ErrorAction;
Expand All @@ -38,6 +39,8 @@
import org.jenkinsci.plugins.workflow.steps.StepExecution;

import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
Expand Down Expand Up @@ -211,4 +214,10 @@ public boolean blocksRestart() {
*/
public abstract @Nonnull Authentication getAuthentication();

/**
* Create {@link Action}s to be attached to {@linkplain #getOwner() owner} when it has UI.
*/
public @Nonnull Collection<? extends Action> createActions() {
return Collections.emptyList();
}
}

0 comments on commit 649990e

Please sign in to comment.