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  java.lang.String execute()
           
protected  ResultsSummary getResultsSummary()
           
protected  java.lang.String getServerBaseUrl()
           
 java.lang.String run(java.util.Map context, BambooUser user)
           
 void setBuildResultsSummaryManager(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 java.lang.String run(java.util.Map context,
                            BambooUser user)
                     throws java.lang.Exception
Throws:
java.lang.Exception

validate

public abstract ErrorCollection validate()

execute

public abstract java.lang.String execute()

getResultsSummary

protected ResultsSummary getResultsSummary()

getServerBaseUrl

protected java.lang.String getServerBaseUrl()

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)


Copyright © 2010 Atlassian. All Rights Reserved.