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
ConstructorsConstructorDescriptionAzDClientApi(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 ApivoidsetOauthToken(AuthorizedToken token) voidsetOrganization(String org) voidsetProject(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:
setProjectin interfaceAzDClient
-
getOrganization
- Specified by:
getOrganizationin interfaceAzDClient
-
setOrganization
- Specified by:
setOrganizationin interfaceAzDClient
-
setOauthToken
- Specified by:
setOauthTokenin interfaceAzDClient
-
getConnection
- Specified by:
getConnectionin interfaceAzDClient
-
getAccountsApi
Returns an instance of AccountsApi- Specified by:
getAccountsApiin interfaceAzDClient- Returns:
- an instance of AccountsApi
AccountsApi
-
getBuildApi
Returns an instance of Build Api- Specified by:
getBuildApiin interfaceAzDClient- Returns:
- instance of BuildApi
BuildApi
-
getCoreApi
Returns an instance of Core Api- Specified by:
getCoreApiin interfaceAzDClient- Returns:
- instance of CoreApi
CoreApi
-
getDistributedTaskApi
Returns an instance of DistributedTask Api- Specified by:
getDistributedTaskApiin interfaceAzDClient- Returns:
- instance of DistributedTaskApi
DistributedTaskApi
-
getFeedManagementApi
Returns an instance of FeedManagement Api- Specified by:
getFeedManagementApiin interfaceAzDClient- Returns:
- instance of Feed management Api
FeedManagementApi
-
getGitApi
Returns an instance of Git Api -
getGraphApi
Returns an instance of GraphApi- Specified by:
getGraphApiin interfaceAzDClient- Returns:
- instance of Graph Api
GraphApi
-
getMavenApi
Returns an instance of Maven Api- Specified by:
getMavenApiin interfaceAzDClient- Returns:
- instance of Maven Api
MavenApi
-
getMemberEntitlementManagementApi
Returns an instance of Member Entitlement management Api- Specified by:
getMemberEntitlementManagementApiin interfaceAzDClient- Returns:
- instance of Member Entitle management Api
MemberEntitlementManagementApi
-
getReleaseApi
Returns an instance of Release Api- Specified by:
getReleaseApiin interfaceAzDClient- Returns:
- instance of Release Api
ReleaseApi
-
getServiceHooksApi
Returns an instance of Service Hooks Api- Specified by:
getServiceHooksApiin interfaceAzDClient- Returns:
- instance of Service Hooks Api
ServiceHooksApi
-
getWikiApi
Returns an instance of WikiApi- Specified by:
getWikiApiin interfaceAzDClient- Returns:
- instance of Wiki Api
WikiApi
-
getWorkApi
Returns an instance of Work Api- Specified by:
getWorkApiin interfaceAzDClient- Returns:
- instance of Work Api
WorkApi
-
getWorkItemTrackingApi
Returns an instance of Work item tracking Api- Specified by:
getWorkItemTrackingApiin 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:
getServiceEndpointApiin interfaceAzDClient- Returns:
- instance of ServiceEndpointApi
ServiceEndpointApi
-
getExtensionManagementApi
Returns an instance of Extension management Api- Specified by:
getExtensionManagementApiin interfaceAzDClient- Returns:
- instance of ExtensionManagementApi
ExtensionManagementApi
-
getPolicyApi
Returns an instance of Policy Api- Specified by:
getPolicyApiin interfaceAzDClient- Returns:
- instance of PolicyApi
PolicyApi
-
getPipelinesApi
Returns an instance of Pipelines Api- Specified by:
getPipelinesApiin interfaceAzDClient- Returns:
- instance of PipelinesApi
PipelinesApi
-
getUPackApi
Returns an instance of Universal Package Api- Specified by:
getUPackApiin interfaceAzDClient- Returns:
- instance of UPackApi
UPackApi
-
getSecurityApi
Returns an instance of security api- Specified by:
getSecurityApiin interfaceAzDClient- Returns:
- instance of securityApi
SecurityApi
-
getTestApi
Returns an instance of Test api- Specified by:
getTestApiin interfaceAzDClient- Returns:
- instance of TestApi
TestApi
-