public class TaskDefinition extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TaskDefinition.TaskDefinitionBuilder
Builder object for
TaskDefinition. |
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.cloud.deployer.spi.core.AppDefinition |
appDefinition
The underlying
AppDefinition. |
| Constructor and Description |
|---|
TaskDefinition(String name,
String dsl) |
| 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 |
getDslText() |
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.
|
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 getDslText()
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> properties)
resource - the resource for the underlying artifactproperties - app and deployment propertiesAppDeploymentRequestpublic 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 appAppDeploymentRequestCopyright © 2016 Pivotal Software, Inc.. All rights reserved.