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> properties)
Create a deployment request for this app definition.
|
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest |
createDeploymentRequest(Resource resource,
Map<String,String> properties,
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
.AppDefinition
public 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> properties)
resource
- the resource for the underlying artifactproperties
- app and deployment propertiesAppDeploymentRequest
public org.springframework.cloud.deployer.spi.core.AppDeploymentRequest createDeploymentRequest(Resource resource, Map<String,String> properties, List<String> runtimeParams)
resource
- the resource for the underlying artifactproperties
- app and deployment propertiesruntimeParams
- the runtime params for the appAppDeploymentRequest
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.