Class SkipperDeploymentPropertiesBuilder
java.lang.Object
org.springframework.cloud.dataflow.rest.client.dsl.AbstractPropertiesBuilder
org.springframework.cloud.dataflow.rest.client.dsl.SkipperDeploymentPropertiesBuilder
- Author:
- Vinicius Carvalho Utility class to help building a Map of skipper based deployment properties
-
Field Summary
Fields inherited from class org.springframework.cloud.dataflow.rest.client.dsl.AbstractPropertiesBuilder
DEPLOYER_PREFIX, deploymentProperties
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionSets the number of instances of the target application.Configures the memory size allocated for the application.packageVersion
(String packageVersion) Sets the package version to be used by skipperplatformName
(String platformName) Sets the target platform to be used by skipperSets the repo name platform to be used by skipperMethods inherited from class org.springframework.cloud.dataflow.rest.client.dsl.AbstractPropertiesBuilder
build
-
Constructor Details
-
SkipperDeploymentPropertiesBuilder
public SkipperDeploymentPropertiesBuilder() -
SkipperDeploymentPropertiesBuilder
-
-
Method Details
-
put
-
putAll
-
memory
Configures the memory size allocated for the application.- Parameters:
label
- - The application name or label to configure the number of instancesmemory
- - Memory size in Mb, must be greater or equal 128- Returns:
- the instance of this SkipperDeploymentPropertiesBuilder
-
count
Sets the number of instances of the target application.- Parameters:
label
- The application name or label to configure the number of instancesinstances
- Number of instances, must be greater than zero- Returns:
- the instance of this SkipperDeploymentPropertiesBuilder
-
platformName
Sets the target platform to be used by skipper- Parameters:
platformName
- the platform name- Returns:
- the instance of this SkipperDeploymentPropertiesBuilder
-
packageVersion
Sets the package version to be used by skipper- Parameters:
packageVersion
- the package version- Returns:
- the instance of this SkipperDeploymentPropertiesBuilder
-
repoName
Sets the repo name platform to be used by skipper- Parameters:
repoName
- the repo name- Returns:
- the instance of this SkipperDeploymentPropertiesBuilder
-