Package org.azd.utils
Class AzDClientApi
java.lang.Object
org.azd.utils.AzDClientApi
- All Implemented Interfaces:
AzDClient
AzDClientApi class to easily call VSTS REST Api with the connection parameters
-
Constructor Summary
ConstructorDescriptionAzDClientApi
(String organizationName, String personalAccessToken) Pass the VSTS organization name and personal access token to create a connection objectAzDClientApi
(String organizationName, String projectName, String personalAccessToken) Pass the VSTS organization name, project name and personal access token to create a connection objectAzDClientApi
(Connection connection) Pass the VSTS organization name and personal access token to create a connection object -
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of AccountsApiReturns an instance of Build ApiReturns an instance of Core ApiReturns an instance of DistributedTask ApiReturns an instance of Extension management ApiReturns an instance of FeedManagement ApiReturns an instance of Git ApiReturns an instance of GraphApiReturns an instance of Maven ApiReturns an instance of Member Entitlement management ApigetOAuth()
Returns an instance of OAuth ApiReturns an instance of Pipelines ApiReturns an instance of Policy ApiReturns an instance of Release ApiReturns an instance of security apiReturns an instance of Service endpoint ApiReturns an instance of Service Hooks ApiReturns an instance of Test apiReturns an instance of Universal Package ApiReturns an instance of WikiApiReturns an instance of Work ApiReturns an instance of Work item tracking Apivoid
setOauthToken
(AuthorizedToken token) void
setOrganization
(String org) void
setProject
(String project)
-
Constructor Details
-
AzDClientApi
Pass the VSTS organization name and personal access token to create a connection object- Parameters:
connection
- Connection objectConnection
-
AzDClientApi
Pass the VSTS organization name and personal access token to create a connection object- Parameters:
organizationName
- VSTS/Azure DevOps services organization namepersonalAccessToken
- Personal access token
-
AzDClientApi
Pass the VSTS organization name, project name and personal access token to create a connection object- Parameters:
organizationName
- VSTS/Azure DevOps services organization nameprojectName
- project namepersonalAccessToken
- Personal access token
-
-
Method Details
-
setProject
- Specified by:
setProject
in interfaceAzDClient
-
getOrganization
- Specified by:
getOrganization
in interfaceAzDClient
-
setOrganization
- Specified by:
setOrganization
in interfaceAzDClient
-
setOauthToken
- Specified by:
setOauthToken
in interfaceAzDClient
-
getConnection
- Specified by:
getConnection
in interfaceAzDClient
-
getAccountsApi
Returns an instance of AccountsApi- Specified by:
getAccountsApi
in interfaceAzDClient
- Returns:
- an instance of AccountsApi
AccountsApi
-
getBuildApi
Returns an instance of Build Api- Specified by:
getBuildApi
in interfaceAzDClient
- Returns:
- instance of BuildApi
BuildApi
-
getCoreApi
Returns an instance of Core Api- Specified by:
getCoreApi
in interfaceAzDClient
- Returns:
- instance of CoreApi
CoreApi
-
getDistributedTaskApi
Returns an instance of DistributedTask Api- Specified by:
getDistributedTaskApi
in interfaceAzDClient
- Returns:
- instance of DistributedTaskApi
DistributedTaskApi
-
getFeedManagementApi
Returns an instance of FeedManagement Api- Specified by:
getFeedManagementApi
in interfaceAzDClient
- Returns:
- instance of Feed management Api
FeedManagementApi
-
getGitApi
Returns an instance of Git Api -
getGraphApi
Returns an instance of GraphApi- Specified by:
getGraphApi
in interfaceAzDClient
- Returns:
- instance of Graph Api
GraphApi
-
getMavenApi
Returns an instance of Maven Api- Specified by:
getMavenApi
in interfaceAzDClient
- Returns:
- instance of Maven Api
MavenApi
-
getMemberEntitlementManagementApi
Returns an instance of Member Entitlement management Api- Specified by:
getMemberEntitlementManagementApi
in interfaceAzDClient
- Returns:
- instance of Member Entitle management Api
MemberEntitlementManagementApi
-
getReleaseApi
Returns an instance of Release Api- Specified by:
getReleaseApi
in interfaceAzDClient
- Returns:
- instance of Release Api
ReleaseApi
-
getServiceHooksApi
Returns an instance of Service Hooks Api- Specified by:
getServiceHooksApi
in interfaceAzDClient
- Returns:
- instance of Service Hooks Api
ServiceHooksApi
-
getWikiApi
Returns an instance of WikiApi- Specified by:
getWikiApi
in interfaceAzDClient
- Returns:
- instance of Wiki Api
WikiApi
-
getWorkApi
Returns an instance of Work Api- Specified by:
getWorkApi
in interfaceAzDClient
- Returns:
- instance of Work Api
WorkApi
-
getWorkItemTrackingApi
Returns an instance of Work item tracking Api- Specified by:
getWorkItemTrackingApi
in interfaceAzDClient
- Returns:
- instance of work item tracking Api
WorkItemTrackingApi
-
getOAuth
Returns an instance of OAuth Api -
getServiceEndpointApi
Returns an instance of Service endpoint Api- Specified by:
getServiceEndpointApi
in interfaceAzDClient
- Returns:
- instance of ServiceEndpointApi
ServiceEndpointApi
-
getExtensionManagementApi
Returns an instance of Extension management Api- Specified by:
getExtensionManagementApi
in interfaceAzDClient
- Returns:
- instance of ExtensionManagementApi
ExtensionManagementApi
-
getPolicyApi
Returns an instance of Policy Api- Specified by:
getPolicyApi
in interfaceAzDClient
- Returns:
- instance of PolicyApi
PolicyApi
-
getPipelinesApi
Returns an instance of Pipelines Api- Specified by:
getPipelinesApi
in interfaceAzDClient
- Returns:
- instance of PipelinesApi
PipelinesApi
-
getUPackApi
Returns an instance of Universal Package Api- Specified by:
getUPackApi
in interfaceAzDClient
- Returns:
- instance of UPackApi
UPackApi
-
getSecurityApi
Returns an instance of security api- Specified by:
getSecurityApi
in interfaceAzDClient
- Returns:
- instance of securityApi
SecurityApi
-
getTestApi
Returns an instance of Test api- Specified by:
getTestApi
in interfaceAzDClient
- Returns:
- instance of TestApi
TestApi
-