Class LastChangesPublisherScript
- java.lang.Object
-
- com.github.jenkins.lastchanges.pipeline.LastChangesPublisherScript
-
- All Implemented Interfaces:
Serializable
public class LastChangesPublisherScript extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LastChangesPublisherScript(LastChangesPublisher publisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPublish(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
String
getDiff()
String
getHtmlDiff()
String
getHtmlDiff(String title)
LastChanges
getLastChanges()
LastChangesPublisherScript
publishLastChanges()
void
setCpsScript(org.jenkinsci.plugins.workflow.cps.CpsScript cpsScript)
-
-
-
Constructor Detail
-
LastChangesPublisherScript
public LastChangesPublisherScript(LastChangesPublisher publisher)
-
-
Method Detail
-
setCpsScript
public void setCpsScript(org.jenkinsci.plugins.workflow.cps.CpsScript cpsScript)
-
doPublish
public void doPublish(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
publishLastChanges
public LastChangesPublisherScript publishLastChanges() throws Exception
- Throws:
Exception
-
getLastChanges
public LastChanges getLastChanges() throws Exception
- Throws:
Exception
-
getHtmlDiff
public String getHtmlDiff() throws IOException
- Throws:
IOException
-
getHtmlDiff
public String getHtmlDiff(String title) throws IOException
- Throws:
IOException
-
getDiff
public String getDiff() throws IOException
- Throws:
IOException
-
-