public class PostCommentTask extends Task
Task.Result| Constructor and Description |
|---|
PostCommentTask(Logger logger,
DifferentialClient differentialClient,
java.lang.String revisionID,
java.lang.String comment,
java.lang.String commentAction)
PostCommentTask constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes the task workflow.
|
protected java.lang.String |
getTag()
Gets the task's tag.
|
protected void |
setup()
Sets up the environment before task execution.
|
protected void |
tearDown()
Tears down after task execution.
|
info, printStackTrace, runpublic PostCommentTask(Logger logger, DifferentialClient differentialClient, java.lang.String revisionID, java.lang.String comment, java.lang.String commentAction)
logger - the loggerdifferentialClient - the client for the differentialrevisionID - the revision identifier from harbormastercomment - the body of the commentcommentAction - the name of the comment action