component-build-plugin / com.intershop.gradle.component.build.extension / ComponentExtension / addType

addType

fun addType(type: String): Boolean

Adds a new deployment or environment type. The characters will be changed to lower cases.

Parameters

type - a deployment or environment type

Return
if the environment type is available, false will be returned.