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. |
| Constructor and Description |
|---|
StreamAppDefinition(String registeredAppName,
String label,
ApplicationType applicationType,
String streamName,
Map<String,String> properties)
Construct a
StreamAppDefinition. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ApplicationType |
getApplicationType() |
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 StreamAppDefinition(String registeredAppName, String label, ApplicationType applicationType, String streamName, Map<String,String> properties)
StreamAppDefinition. This constructor is private; use
StreamAppDefinition.Builder to create a new instance.registeredAppName - name of app in the registrylabel - label used for app in stream definitionapplicationType - the ApplicationTypestreamName - name of the stream this app belongs toproperties - app properties; may be nullpublic String getStreamName()
public boolean equals(Object obj)
public String toString()
public String getName()
AppDefinition.AppDefinitionpublic String getRegisteredAppName()
protected void setRegisteredAppName(String registeredAppName)
registeredAppName - the registered app namepublic Map<String,String> getProperties()
public ApplicationType getApplicationType()
ApplicationType of this applicationCopyright © 2021 Pivotal Software, Inc.. All rights reserved.