public abstract class AbstractUpgradeTask extends Object implements UpgradeTask
log
Constructor and Description |
---|
AbstractUpgradeTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
addError(UpgradeError error) |
void |
addErrors(Collection<String> errors) |
void |
addErrors(String prefix,
Collection<String> errors)
Useful for adding a bunch of errors (like from a command) with a prefix
|
String |
getBuildNumber() |
Collection<UpgradeError> |
getErrors()
Return any errors that occur.
|
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
void |
setBuildNumber(String buildNumber) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doUpgrade
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
protected void addError(UpgradeError error)
public void addErrors(String prefix, Collection<String> errors)
public void addErrors(Collection<String> errors)
public Collection<UpgradeError> getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
public void setBuildNumber(String buildNumber)
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.