Class StreamApplication
java.lang.Object
org.springframework.cloud.dataflow.rest.client.dsl.StreamApplication
Represents an individual Stream Application, encapsulating name,
StreamApplication.ApplicationType
,
label, application and deployment properties.- Author:
- Vinicius Carvalho
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStreamApplication
(String name) Construct a new StreamApplication given the application name. -
Method Summary
Modifier and TypeMethodDescriptionaddDeploymentProperty
(String key, Object value) addProperties
(Map<String, Object> properties) addProperty
(String key, Object value) boolean
getLabel()
getName()
getType()
int
hashCode()
toString()
-
Constructor Details
-
StreamApplication
Construct a new StreamApplication given the application name.- Parameters:
name
- The name of the application.
-
-
Method Details
-
getName
-
label
-
addProperty
-
addDeploymentProperty
-
addProperties
-
getLabel
-
getProperties
-
type
-
getDeploymentProperties
-
getIdentity
- Returns:
- Returns the unique identity of an application in a Stream. This could be name or label: name
-
getDefinition
-
getType
-
equals
-
hashCode
public int hashCode() -
toString
-