public class TeamInboxMessage extends FlowdockMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
FLOWDOCK_BUILD_FAIL_EMAIL |
static String |
FLOWDOCK_BUILD_OK_EMAIL |
protected String |
fromAddress |
protected String |
fromName |
protected String |
link |
protected String |
project |
protected String |
source |
protected String |
subject |
content, tags| Constructor and Description |
|---|
TeamInboxMessage() |
| Modifier and Type | Method and Description |
|---|---|
String |
asPostData() |
static TeamInboxMessage |
fromBuild(hudson.model.AbstractBuild build,
BuildResult buildResult,
hudson.model.BuildListener listener) |
static List<hudson.scm.ChangeLogSet.Entry> |
parseCommits(hudson.model.AbstractBuild build) |
void |
setFromAddress(String fromAddress) |
void |
setFromName(String fromName) |
void |
setLink(String link) |
void |
setProject(String project) |
void |
setSource(String source) |
void |
setSubject(String subject) |
removeWhitespace, setContent, setTags, urlEncodepublic static final String FLOWDOCK_BUILD_OK_EMAIL
public static final String FLOWDOCK_BUILD_FAIL_EMAIL
protected String source
protected String project
protected String subject
protected String link
protected String fromAddress
protected String fromName
public void setSource(String source)
public void setProject(String project)
public void setSubject(String subject)
public void setLink(String link)
public void setFromAddress(String fromAddress)
public void setFromName(String fromName)
public String asPostData() throws UnsupportedEncodingException
asPostData in class FlowdockMessageUnsupportedEncodingExceptionpublic static TeamInboxMessage fromBuild(hudson.model.AbstractBuild build, BuildResult buildResult, hudson.model.BuildListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static List<hudson.scm.ChangeLogSet.Entry> parseCommits(hudson.model.AbstractBuild build)
Copyright © 2004-2015. All Rights Reserved.