public abstract class Task extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Task.Type
Identifies the type of task.
|
Modifier and Type | Field and Description |
---|---|
Condition |
condition
A condition element with can prevent this task from being scheduled in the
upgrade.
|
protected static com.google.gson.Gson |
GSON
A Gson instance to use when doing simple serialization along with
Expose . |
boolean |
isSequential
Whether the task needs to run sequentially, i.e., on its own stage.
|
UpgradeScope |
scope
The scope for the task
|
String |
summary
An optional brief description of what this task is doing.
|
String |
timeoutConfig
The config property to check for timeout.
|
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getActionVerb() |
abstract StageWrapper.Type |
getStageWrapperType() |
String |
getSummary()
Gets the summary of the task or
null . |
abstract Task.Type |
getType() |
String |
toString() |
protected static final com.google.gson.Gson GSON
Expose
.public String summary
public boolean isSequential
public String timeoutConfig
public Condition condition
public UpgradeScope scope
public abstract Task.Type getType()
public abstract StageWrapper.Type getStageWrapperType()
public abstract String getActionVerb()
public String getSummary()
null
.null
.Copyright © 2022 Apache Software Foundation. All rights reserved.