Class AbstractSmackCommand
- java.lang.Object
-
- com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
-
- All Implemented Interfaces:
SmackCommand
- Direct Known Subclasses:
AddComment
,AddLabel
,SimpleSmackCommand
public abstract class AbstractSmackCommand extends Object implements SmackCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected String
commandBody
-
Fields inherited from interface com.atlassian.bamboo.xmpp.commands.SmackCommand
ERROR, SUCCESS
-
-
Constructor Summary
Constructors Constructor Description AbstractSmackCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildKey()
String
getBuildNumber()
String
getCommandBody()
PlanResultKey
getPlanResultKey()
String
getProjectKey()
String
getResponseMessage()
protected void
init(Map<String,String> context)
void
setBuildKey(String buildKey)
void
setBuildNumber(String buildNumber)
void
setCommandBody(String commandBody)
void
setPlanResultKey(PlanResultKey planResultKey)
void
setProjectKey(String projectKey)
void
setResponseMessage(String responseMessage)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.xmpp.commands.SmackCommand
run
-
-
-
-
Field Detail
-
commandBody
protected String commandBody
-
-
Method Detail
-
getResponseMessage
public String getResponseMessage()
- Specified by:
getResponseMessage
in interfaceSmackCommand
-
setResponseMessage
public void setResponseMessage(String responseMessage)
-
getProjectKey
public String getProjectKey()
-
setProjectKey
public void setProjectKey(String projectKey)
-
getBuildKey
public String getBuildKey()
-
setBuildKey
public void setBuildKey(String buildKey)
-
getBuildNumber
public String getBuildNumber()
-
setBuildNumber
public void setBuildNumber(String buildNumber)
-
getPlanResultKey
public PlanResultKey getPlanResultKey()
-
setPlanResultKey
public void setPlanResultKey(PlanResultKey planResultKey)
-
getCommandBody
public String getCommandBody()
-
setCommandBody
public void setCommandBody(String commandBody)
-
-