Compartilhar via


PublishingProfile Interface

public interface PublishingProfile

Endpoints and credentials for publishing to a web app.

Method Summary

Modifier and Type Method and Description
abstract String ftpPassword()

Gets the password used for FTP publishing.

abstract String ftpUrl()

Gets the URL for FTP publishing.

abstract String ftpUsername()

Gets the username used for FTP publishing

abstract String gitPassword()

Gets the password used for Git publishing.

abstract String gitUrl()

Gets the URL for FTP publishing.

abstract String gitUsername()

Gets the username used for Git publishing.

Method Details

ftpPassword

public abstract String ftpPassword()

Gets the password used for FTP publishing.

Returns:

the password used for FTP publishing

ftpUrl

public abstract String ftpUrl()

Gets the URL for FTP publishing.

Returns:

the URL for FTP publishing, with ftp:// and the root folder. E.g. ftp://ftp.contoso.com/site/wwwroot

ftpUsername

public abstract String ftpUsername()

Gets the username used for FTP publishing

Returns:

the username used for FTP publishing

gitPassword

public abstract String gitPassword()

Gets the password used for Git publishing.

Returns:

the password used for Git publishing

gitUrl

public abstract String gitUrl()

Gets the URL for FTP publishing.

Returns:

the URL for FTP publishing, with https:// upfront. E.g. https://contoso.com:443/myRepo.git

gitUsername

public abstract String gitUsername()

Gets the username used for Git publishing.

Returns:

the username used for Git publishing

Applies to