public class SprintsWorkAction extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_TYPE |
static String |
POST_BUILD_TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
addcomment() |
boolean |
addFeedStatus() |
boolean |
createItem() |
hudson.model.AbstractBuild<?,?> |
getBuild() |
String |
getBuildActionType() |
static SprintsWorkAction |
getInstanceForAddComment(hudson.model.AbstractBuild<?,?> frombuild,
hudson.model.BuildListener fromlistener,
String frombuildType,
String fromprefix,
String fromnote,
boolean fromisCommentAttachment)
call setPrefix method instead of assign
|
static SprintsWorkAction |
getInstanceForFeedStatus(hudson.model.AbstractBuild<?,?> frombuild,
hudson.model.BuildListener fromlistener,
String frombuildType,
String fromprefix,
String fromstatus)
call setPrefix method instead of assign
|
static SprintsWorkAction |
getInstanceForItemCreate(hudson.model.AbstractBuild<?,?> frombuild,
hudson.model.BuildListener fromlistener,
String frombuildType,
String fromprefix,
String fromitemName,
String fromitemDesc,
String fromitemType,
String fromitemAssignee,
boolean fromisItemAddAttachment) |
static SprintsWorkAction |
getInstanceForStatusUpdate(hudson.model.AbstractBuild<?,?> frombuild,
hudson.model.BuildListener fromlistener,
String frombuildType,
String fromprefix,
String fromstatus)
call setPrefix method instead of assign
|
static SprintsWorkAction |
getInstanceForUpdatePriority(hudson.model.AbstractBuild<?,?> frombuild,
hudson.model.BuildListener fromlistener,
String frombuildType,
String fromprefix,
String frompriority)
call setPrefix method instead of assign
|
String |
getItemAssignee() |
String |
getItemDesc() |
String |
getItemName() |
String |
getItemType() |
hudson.model.BuildListener |
getListener() |
String |
getMailid() |
String |
getNote() |
String |
getPrefix() |
String |
getPriority() |
String |
getStatus() |
boolean |
isCommentAttachment() |
boolean |
isItemAddAttachment() |
SprintsWorkAction |
setBuild(hudson.model.AbstractBuild<?,?> fromBuild) |
SprintsWorkAction |
setBuildActionType(String fromBuildActionType) |
SprintsWorkAction |
setCommentAttachment(boolean commentAttachment) |
SprintsWorkAction |
setItemAddAttachment(boolean itemAddAttachment) |
SprintsWorkAction |
setItemAssignee(String fromItemAssignee) |
SprintsWorkAction |
setItemDesc(String fromItemDesc) |
SprintsWorkAction |
setItemName(String fromItemName) |
SprintsWorkAction |
setItemType(String fromItemType) |
SprintsWorkAction |
setListener(hudson.model.BuildListener buildListener) |
SprintsWorkAction |
setMailid() |
SprintsWorkAction |
setNote(String fromNote) |
SprintsWorkAction |
setPrefix(String fromPrefix) |
SprintsWorkAction |
setPriority(String fromPriority) |
SprintsWorkAction |
setStatus(String fromStatus) |
boolean |
updatePriority() |
boolean |
updateStatus() |
public static final String POST_BUILD_TYPE
public static final String BUILD_TYPE
public String getBuildActionType()
public String getMailid()
public SprintsWorkAction setMailid()
public SprintsWorkAction setBuildActionType(String fromBuildActionType)
fromBuildActionType
- Type of build {builder/post build}public hudson.model.AbstractBuild<?,?> getBuild()
public SprintsWorkAction setBuild(hudson.model.AbstractBuild<?,?> fromBuild)
fromBuild
- AbstractBuild Object of Buildpublic hudson.model.BuildListener getListener()
public SprintsWorkAction setListener(hudson.model.BuildListener buildListener)
buildListener
- listener Receives events that happen during a buildpublic String getPriority()
public SprintsWorkAction setPriority(String fromPriority)
fromPriority
- priority to update in Sprints Itempublic String getNote()
public SprintsWorkAction setNote(String fromNote)
fromNote
- Comment to add in Sprints Itempublic String getItemName()
public SprintsWorkAction setItemName(String fromItemName)
fromItemName
- Name of the Sprints Itempublic String getPrefix()
public SprintsWorkAction setPrefix(String fromPrefix)
fromPrefix
- Prefix for the Actionpublic String getItemDesc()
public SprintsWorkAction setItemDesc(String fromItemDesc)
fromItemDesc
- Sprints Item Descriptionpublic String getItemType()
public SprintsWorkAction setItemType(String fromItemType)
fromItemType
- Type of Sprints Itempublic String getItemAssignee()
public SprintsWorkAction setItemAssignee(String fromItemAssignee)
fromItemAssignee
- Assignee of Itempublic boolean isItemAddAttachment()
public SprintsWorkAction setItemAddAttachment(boolean itemAddAttachment)
itemAddAttachment
- whether need to add build log as Attachment with Sprints Item Creationpublic boolean isCommentAttachment()
public SprintsWorkAction setCommentAttachment(boolean commentAttachment)
commentAttachment
- whether need to add build log along with Sprints Item Commentpublic String getStatus()
public SprintsWorkAction setStatus(String fromStatus)
fromStatus
- Status to update in Sprints Item/ Feed to updatedpublic static SprintsWorkAction getInstanceForItemCreate(hudson.model.AbstractBuild<?,?> frombuild, hudson.model.BuildListener fromlistener, String frombuildType, String fromprefix, String fromitemName, String fromitemDesc, String fromitemType, String fromitemAssignee, boolean fromisItemAddAttachment)
frombuild
- AbstractBuild Object of Buildfromlistener
- listener Receives events that happen during a buildfrombuildType
- Type of build {builder/post build}fromprefix
- For which sprint Item to createfromitemName
- Name of the Sprints ItemfromitemDesc
- Sprints Item DescriptionfromitemType
- Sprints Item TypefromitemAssignee
- Sprints Item AssigneefromisItemAddAttachment
- Need to Add build log as a Attachment while create the Sprints Itempublic static SprintsWorkAction getInstanceForStatusUpdate(hudson.model.AbstractBuild<?,?> frombuild, hudson.model.BuildListener fromlistener, String frombuildType, String fromprefix, String fromstatus)
frombuild
- AbstractBuild Object of Buildfromlistener
- listener Receives events that happen during a buildfrombuildType
- Type of build {builder/post build}fromprefix
- prefix for which Sprint Item Status to Updatefromstatus
- Sprints Item Status to Updatepublic static SprintsWorkAction getInstanceForAddComment(hudson.model.AbstractBuild<?,?> frombuild, hudson.model.BuildListener fromlistener, String frombuildType, String fromprefix, String fromnote, boolean fromisCommentAttachment)
frombuild
- AbstractBuild Object of Buildfromlistener
- listener Receives events that happen during a buildfrombuildType
- Type of build {builder/post build}fromprefix
- prefix for in which Sprint Item Comment to Addfromnote
- Comment to addfromisCommentAttachment
- is Build log need to add along with commentpublic static SprintsWorkAction getInstanceForUpdatePriority(hudson.model.AbstractBuild<?,?> frombuild, hudson.model.BuildListener fromlistener, String frombuildType, String fromprefix, String frompriority)
frombuild
- AbstractBuild Object of Buildfromlistener
- listener Receives events that happen during a buildfrombuildType
- Type of build {builder/post build}fromprefix
- prefix for for which Sprint Item Priority to Updatefrompriority
- priority to Updatepublic static SprintsWorkAction getInstanceForFeedStatus(hudson.model.AbstractBuild<?,?> frombuild, hudson.model.BuildListener fromlistener, String frombuildType, String fromprefix, String fromstatus)
frombuild
- AbstractBuild Object of Buildfromlistener
- listener Receives events that happen during a buildfrombuildType
- Type of build {builder/post build}fromprefix
- In which Sprints Project feed status to be pushedfromstatus
- Feed Status to pushpublic boolean createItem()
public boolean updateStatus()
public boolean addcomment()
public boolean updatePriority()
public boolean addFeedStatus()
Copyright © 2016–2021. All rights reserved.