Class SimpleSmackCommand
- java.lang.Object
-
- com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
-
- com.atlassian.bamboo.xmpp.commands.SimpleSmackCommand
-
- All Implemented Interfaces:
SmackCommand
- Direct Known Subclasses:
CommitCommentSmackCommand
public abstract class SimpleSmackCommand extends AbstractSmackCommand
A simpleSmackCommandthat should be refactored to implementAction
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
commandBody
-
Fields inherited from interface com.atlassian.bamboo.xmpp.commands.SmackCommand
ERROR, SUCCESS
-
-
Constructor Summary
Constructors Constructor Description SimpleSmackCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Stringexecute()protected @Nullable ResultsSummarygetResultsSummary()protected StringgetServerBaseUrl()Stringrun(Map context, BambooUser user)voidsetAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)voidsetResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)abstract ErrorCollectionvalidate()-
Methods inherited from class com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
getBuildKey, getBuildNumber, getCommandBody, getPlanResultKey, getProjectKey, getResponseMessage, init, setBuildKey, setBuildNumber, setCommandBody, setPlanResultKey, setProjectKey, setResponseMessage
-
-
-
-
Method Detail
-
run
public String run(Map context, BambooUser user)
-
validate
public abstract ErrorCollection validate()
-
execute
public abstract String execute()
-
getResultsSummary
@Nullable protected @Nullable ResultsSummary getResultsSummary()
-
getServerBaseUrl
protected String getServerBaseUrl()
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
-
setResultsSummaryManager
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
-
-