com.atlassian.bamboo.xmpp.commands
Class SimpleSmackCommand

java.lang.Object
  extended by com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
      extended by com.atlassian.bamboo.xmpp.commands.SimpleSmackCommand
All Implemented Interfaces:
SmackCommand
Direct Known Subclasses:
CommitCommentSmackCommand

public abstract class SimpleSmackCommand
extends AbstractSmackCommand

A simple SmackCommand that should be refactored to implement Action


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
SimpleSmackCommand()
           
 
Method Summary
abstract  String execute()
           
protected  ResultsSummary getResultsSummary()
           
protected  String getServerBaseUrl()
           
 String run(Map context, BambooUser user)
           
 void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
abstract  ErrorCollection validate()
           
 
Methods inherited from class com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
getBuildKey, getBuildNumber, getCommandBody, getPlanResultKey, getProjectKey, getResponseMessage, init, setBuildKey, setBuildNumber, setCommandBody, setPlanResultKey, setProjectKey, setResponseMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSmackCommand

public SimpleSmackCommand()
Method Detail

run

public String run(Map context,
                  BambooUser user)

validate

public abstract ErrorCollection validate()

execute

public abstract String execute()

getResultsSummary

@Nullable
protected ResultsSummary getResultsSummary()

getServerBaseUrl

protected String getServerBaseUrl()

setAdministrationConfigurationAccessor

public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)

setResultsSummaryManager

public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.