public class SourceProperties extends Object
Constructor and Description |
---|
SourceProperties() |
Modifier and Type | Method and Description |
---|---|
String |
branch()
Get the branch name of the source code.
|
String |
repositoryUrl()
Get the full URL to the source code respository.
|
AuthInfo |
sourceControlAuthProperties()
Get the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
SourceControlType |
sourceControlType()
Get the type of source control service.
|
SourceProperties |
withBranch(String branch)
Set the branch name of the source code.
|
SourceProperties |
withRepositoryUrl(String repositoryUrl)
Set the full URL to the source code respository.
|
SourceProperties |
withSourceControlAuthProperties(AuthInfo sourceControlAuthProperties)
Set the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
SourceProperties |
withSourceControlType(SourceControlType sourceControlType)
Set the type of source control service.
|
public SourceControlType sourceControlType()
public SourceProperties withSourceControlType(SourceControlType sourceControlType)
sourceControlType
- the sourceControlType value to setpublic String repositoryUrl()
public SourceProperties withRepositoryUrl(String repositoryUrl)
repositoryUrl
- the repositoryUrl value to setpublic String branch()
public SourceProperties withBranch(String branch)
branch
- the branch value to setpublic AuthInfo sourceControlAuthProperties()
public SourceProperties withSourceControlAuthProperties(AuthInfo sourceControlAuthProperties)
sourceControlAuthProperties
- the sourceControlAuthProperties value to setCopyright © 2019. All rights reserved.