public class TaskDefinitionResource
extends org.springframework.hateoas.ResourceSupport
TaskDefinition.| Modifier and Type | Class and Description |
|---|---|
static class |
TaskDefinitionResource.Page |
| Modifier | Constructor and Description |
|---|---|
protected |
TaskDefinitionResource()
Default constructor to be used by Jackson.
|
|
TaskDefinitionResource(String name,
String dslText) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDslText() |
TaskExecutionResource |
getLastTaskExecution() |
String |
getName() |
String |
getStatus()
Return the status of this task.
|
boolean |
isComposed()
Return if this task is a composed task
|
void |
setComposed(boolean composed)
Set if this task is a composed task
|
void |
setLastTaskExecution(TaskExecutionResource lastTaskExecution) |
protected TaskDefinitionResource()
public String getName()
public String getDslText()
public boolean isComposed()
public void setComposed(boolean composed)
composed - is task a composed taskpublic String getStatus()
Enum.toString().public TaskExecutionResource getLastTaskExecution()
TaskExecution if available, null otherwisepublic void setLastTaskExecution(TaskExecutionResource lastTaskExecution)
lastTaskExecution - the last Task ExecutionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.