public class StreamAppDefinition extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamAppDefinition.Builder
Builder object for
StreamAppDefinition. |
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.cloud.deployer.spi.core.AppDefinition |
appDefinition
The underlying
AppDefinition. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest |
createDeploymentRequest(Resource resource,
Map<String,String> deploymentProperties)
Create a deployment request for this app definition.
|
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest |
createDeploymentRequest(Resource resource,
Map<String,String> deploymentProperties,
List<String> runtimeParams)
Create a deployment request for this app definition.
|
boolean |
equals(Object obj) |
String |
getName()
Return the name from the
AppDefinition. |
Map<String,String> |
getProperties()
Gets the app definition properties.
|
String |
getRegisteredAppName()
Return the name of the registered app.
|
String |
getStreamName()
Return name of the stream this app instance belongs to.
|
int |
hashCode() |
protected void |
setRegisteredAppName(String registeredAppName)
Set the registered app name.
|
String |
toString() |
protected volatile org.springframework.cloud.deployer.spi.core.AppDefinition appDefinition
AppDefinition.public String getStreamName()
public String getName()
AppDefinition.AppDefinitionpublic String getRegisteredAppName()
protected void setRegisteredAppName(String registeredAppName)
registeredAppName - the registered app namepublic Map<String,String> getProperties()
public org.springframework.cloud.deployer.spi.core.AppDeploymentRequest createDeploymentRequest(Resource resource, Map<String,String> deploymentProperties)
resource - the resource for the underlying artifactdeploymentProperties - deployment propertiesAppDeploymentRequestpublic org.springframework.cloud.deployer.spi.core.AppDeploymentRequest createDeploymentRequest(Resource resource, Map<String,String> deploymentProperties, List<String> runtimeParams)
resource - the resource for the underlying artifactdeploymentProperties - deployment propertiesruntimeParams - the runtime params for the appAppDeploymentRequestCopyright © 2016 Pivotal Software, Inc.. All rights reserved.