public abstract class Task extends Resource
| Constructor and Description |
|---|
Task() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getCommand()
The command that will be executed
|
abstract Integer |
getDiskInMb()
The amount of disk to allocate for the task in MB
|
abstract String |
getDropletId()
The id of the droplet that will be used to run the command
|
abstract Integer |
getMemoryInMb()
The amount of memory to allocate for the task in MB
|
abstract Metadata |
getMetadata()
The metadata
|
abstract String |
getName()
The task's name
|
abstract Result |
getResult()
The task result
|
abstract Integer |
getSequenceId()
The user-facing id of the task
|
abstract TaskState |
getState()
The state of the task
|
abstract TaskRelationships |
getTaskRelationships()
The task relationships
|
getCreatedAt, getId, getLinks, getUpdatedAtpublic abstract String getCommand()
public abstract Integer getDiskInMb()
public abstract String getDropletId()
public abstract Integer getMemoryInMb()
public abstract Metadata getMetadata()
public abstract String getName()
public abstract Result getResult()
public abstract Integer getSequenceId()
public abstract TaskState getState()
public abstract TaskRelationships getTaskRelationships()
Copyright © 2020. All rights reserved.