public abstract class SimpleSmackCommand extends AbstractSmackCommand
SmackCommand
that should be refactored to implement Action
commandBody
ERROR, SUCCESS
Constructor and Description |
---|
SimpleSmackCommand() |
Modifier and Type | Method and Description |
---|---|
abstract String |
execute() |
protected @Nullable ResultsSummary |
getResultsSummary() |
protected String |
getServerBaseUrl() |
String |
run(Map context,
BambooUser user) |
void |
setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) |
void |
setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager) |
abstract ErrorCollection |
validate() |
getBuildKey, getBuildNumber, getCommandBody, getPlanResultKey, getProjectKey, getResponseMessage, init, setBuildKey, setBuildNumber, setCommandBody, setPlanResultKey, setProjectKey, setResponseMessage
public String run(Map context, BambooUser user)
public abstract ErrorCollection validate()
public abstract String execute()
@Nullable protected @Nullable ResultsSummary getResultsSummary()
protected String getServerBaseUrl()
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.