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() |
String |
getName() |
String |
getStatus()
Return the status of this task (i.e.
|
boolean |
isComposed()
Return if this task is a composed task
|
void |
setComposed(boolean composed)
Set if this task is a composed task
|
void |
setStatus(String status)
Set the status of this task (i.e.
|
protected TaskDefinitionResource()
public String getName()
public String getDslText()
public boolean isComposed()
public void setComposed(boolean composed)
composed
- is task a composed taskpublic String getStatus()
public void setStatus(String status)
status
- task statusCopyright © 2019 Pivotal Software, Inc.. All rights reserved.