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  ExtendedBuildResultsSummary getBuildResultsSummary()
           
protected  java.lang.String getServerBaseUrl()
           
 java.lang.String run(java.util.Map context, BambooUser user)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
abstract  ErrorCollection validate()
           
 
Methods inherited from class com.atlassian.bamboo.xmpp.commands.AbstractSmackCommand
getBuildKey, getBuildNumber, getCommandBody, getFullBuildResultKey, getProjectKey, getResponseMessage, init, setBuildKey, setBuildNumber, setCommandBody, 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()

getBuildResultsSummary

protected ExtendedBuildResultsSummary getBuildResultsSummary()

getServerBaseUrl

protected java.lang.String getServerBaseUrl()

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.