public final class FactoryVstsConfiguration extends FactoryRepoConfiguration
| Constructor and Description |
|---|
FactoryVstsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
projectName()
Get the projectName property: VSTS project name.
|
String |
tenantId()
Get the tenantId property: VSTS tenant id.
|
void |
validate()
Validates the instance.
|
FactoryVstsConfiguration |
withAccountName(String accountName)
Set the accountName property: Account name.
|
FactoryVstsConfiguration |
withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.
|
FactoryVstsConfiguration |
withLastCommitId(String lastCommitId)
Set the lastCommitId property: Last commit id.
|
FactoryVstsConfiguration |
withProjectName(String projectName)
Set the projectName property: VSTS project name.
|
FactoryVstsConfiguration |
withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.
|
FactoryVstsConfiguration |
withRootFolder(String rootFolder)
Set the rootFolder property: Root folder.
|
FactoryVstsConfiguration |
withTenantId(String tenantId)
Set the tenantId property: VSTS tenant id.
|
accountName, collaborationBranch, lastCommitId, repositoryName, rootFolderpublic String projectName()
public FactoryVstsConfiguration withProjectName(String projectName)
projectName - the projectName value to set.public String tenantId()
public FactoryVstsConfiguration withTenantId(String tenantId)
tenantId - the tenantId value to set.public FactoryVstsConfiguration withAccountName(String accountName)
withAccountName in class FactoryRepoConfigurationaccountName - the accountName value to set.public FactoryVstsConfiguration withRepositoryName(String repositoryName)
withRepositoryName in class FactoryRepoConfigurationrepositoryName - the repositoryName value to set.public FactoryVstsConfiguration withCollaborationBranch(String collaborationBranch)
withCollaborationBranch in class FactoryRepoConfigurationcollaborationBranch - the collaborationBranch value to set.public FactoryVstsConfiguration withRootFolder(String rootFolder)
withRootFolder in class FactoryRepoConfigurationrootFolder - the rootFolder value to set.public FactoryVstsConfiguration withLastCommitId(String lastCommitId)
withLastCommitId in class FactoryRepoConfigurationlastCommitId - the lastCommitId value to set.public void validate()
validate in class FactoryRepoConfigurationIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.