component-installation-plugin / com.intershop.gradle.component.installation.tasks / InstallConfigManager / checkForType

checkForType

fun checkForType(item: DeploymentItem): Boolean

Compares the type information of an item with configured environment information.

Parameters

item - an item with a specific environment configuration.

Return
true if the configured environment matches to the configuration of the item.

fun checkForType(itemTypes: Set<String>): Boolean

Checks the if the types of items are included in the types (environments) of the installation configuration.

If one of the item list is empty the method returns always true.

Parameters

itemTypes - set of types

Return
If some itemTypes are included in the environment configuration the return value is true.