com.flowdock.jenkins
Class TeamInboxMessage

java.lang.Object
  extended by com.flowdock.jenkins.FlowdockMessage
      extended by com.flowdock.jenkins.TeamInboxMessage

public class TeamInboxMessage
extends FlowdockMessage


Field Summary
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
           
 
Fields inherited from class com.flowdock.jenkins.FlowdockMessage
content, tags
 
Constructor Summary
TeamInboxMessage()
           
 
Method Summary
 String asPostData()
           
static TeamInboxMessage fromBuild(hudson.model.AbstractBuild build, BuildResult buildResult)
           
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)
           
 
Methods inherited from class com.flowdock.jenkins.FlowdockMessage
setContent, setTags, urlEncode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOWDOCK_BUILD_OK_EMAIL

public static final String FLOWDOCK_BUILD_OK_EMAIL
See Also:
Constant Field Values

FLOWDOCK_BUILD_FAIL_EMAIL

public static final String FLOWDOCK_BUILD_FAIL_EMAIL
See Also:
Constant Field Values

source

protected String source

project

protected String project

subject

protected String subject

link

protected String link

fromAddress

protected String fromAddress

fromName

protected String fromName
Constructor Detail

TeamInboxMessage

public TeamInboxMessage()
Method Detail

setSource

public void setSource(String source)

setProject

public void setProject(String project)

setSubject

public void setSubject(String subject)

setLink

public void setLink(String link)

setFromAddress

public void setFromAddress(String fromAddress)

setFromName

public void setFromName(String fromName)

asPostData

public String asPostData()
                  throws UnsupportedEncodingException
Specified by:
asPostData in class FlowdockMessage
Throws:
UnsupportedEncodingException

fromBuild

public static TeamInboxMessage fromBuild(hudson.model.AbstractBuild build,
                                         BuildResult buildResult)

parseCommits

public static List<hudson.scm.ChangeLogSet.Entry> parseCommits(hudson.model.AbstractBuild build)


Copyright © 2004-2014. All Rights Reserved.