Partager via


WebDeployment.DefinitionStages.WithSetParameters Interface

public static interface WebDeployment.DefinitionStages.WithSetParameters

A web deployment definition stage allowing specifying parameters.

Method Summary

Modifier and Type Method and Description
abstract WithExecute withSetParameter(String name, String value)

Adds a parameter for the deployment.

abstract WithExecute withSetParametersXmlFile(String fileUri)

Specifies the XML file containing the parameters.

Method Details

withSetParameter

public abstract WebDeployment.DefinitionStages.WithExecute withSetParameter(String name, String value)

Adds a parameter for the deployment.

Parameters:

name - name of the parameter
value - the value of the parameter

Returns:

the next definition stage

withSetParametersXmlFile

public abstract WebDeployment.DefinitionStages.WithExecute withSetParametersXmlFile(String fileUri)

Specifies the XML file containing the parameters.

Parameters:

fileUri - the XML file's URI

Returns:

the next definition stage

Applies to