public class StreamDefinitionResource extends org.springframework.hateoas.RepresentationModel<StreamDefinitionResource>
StreamDefinition
. This class also includes a
description of the stream status
.
Note: this implementation is not thread safe.
Modifier and Type | Class and Description |
---|---|
static class |
StreamDefinitionResource.Page |
Modifier | Constructor and Description |
---|---|
protected |
StreamDefinitionResource()
Default constructor for serialization frameworks.
|
|
StreamDefinitionResource(String name,
String dslText,
String originalDslText,
String description)
Construct a
StreamDefinitionResource . |
|
StreamDefinitionResource(String name,
String dslText,
String originalDslText,
String description,
String status,
String statusDescription)
Construct a
StreamDefinitionResource . |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return the description of the stream definition.
|
String |
getDslText()
Return the DSL definition for this stream.
|
String |
getName()
Return the name of this stream.
|
String |
getOriginalDslText()
Return the original DSL definition for this stream.
|
String |
getStatus()
Return the status of this stream (i.e.
|
String |
getStatusDescription()
Get a descriptive text of the stream's deployment status.
|
void |
setStatus(String status)
Set the status of this stream (i.e.
|
void |
setStatusDescription(String statusDescription)
Set the descriptive text of the stream's deployment status.
|
protected StreamDefinitionResource()
public StreamDefinitionResource(String name, String dslText, String originalDslText, String description)
StreamDefinitionResource
.name
- stream namedslText
- stream definition DSL textoriginalDslText
- original stream definition DSL textdescription
- Description of the stream definitionpublic StreamDefinitionResource(String name, String dslText, String originalDslText, String description, String status, String statusDescription)
StreamDefinitionResource
.name
- stream namedslText
- stream definition DSL textoriginalDslText
- original stream definition DSL textdescription
- Description of the stream definitionstatus
- the status of the streamstatusDescription
- Description of the stream statuspublic String getName()
public String getDslText()
public String getOriginalDslText()
public String getDescription()
public String getStatus()
public void setStatus(String status)
status
- stream statuspublic String getStatusDescription()
DeploymentStateResource
.public void setStatusDescription(String statusDescription)
DeploymentStateResource
statusDescription
- the stream's deployment status descriptionCopyright © 2024 Pivotal Software, Inc.. All rights reserved.