Package hudson.plugins.claim.messages
Class InitialTestClaimMessage
- java.lang.Object
-
- hudson.plugins.claim.messages.InitialTestClaimMessage
-
public final class InitialTestClaimMessage extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
LINE_SEPARATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
buildJenkinsUrl()
Get the jenkins url for the item.protected String
getClaimedByUser()
Gets the claiming user.protected String
getItem()
Gets the item.protected String
getMessage()
protected String
getSubject()
protected String
getSubject(String action)
protected String
getText(String action, String assignedByUser)
protected Iterable<? extends String>
getToRecipients()
protected boolean
mustBeSent()
void
send()
Creates and send the communication.
-
-
-
Field Detail
-
LINE_SEPARATOR
protected static final String LINE_SEPARATOR
-
-
Method Detail
-
getMessage
protected String getMessage()
-
getSubject
protected String getSubject()
-
mustBeSent
protected boolean mustBeSent()
-
getItem
protected String getItem()
Gets the item.- Returns:
- the item
-
getClaimedByUser
protected String getClaimedByUser()
Gets the claiming user.- Returns:
- the claiming user
-
send
public void send() throws jakarta.mail.MessagingException, IOException
Creates and send the communication.- Throws:
jakarta.mail.MessagingException
- if there has been some problem with sending the emailIOException
- if there has been some problem with the mail content
-
buildJenkinsUrl
@NonNull protected String buildJenkinsUrl()
Get the jenkins url for the item.- Returns:
- The jenkins url for the item
-
-