Interface DeploymentService
-
- All Implemented Interfaces:
public interface DeploymentServiceWeb application deployment management
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDeploymentService.WithRawResponseA view of DeploymentService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract DeploymentService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract DeploymentServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Unitcreate(DeploymentCreateParams params)Creates a deployment for an existing project by fetching repository files from GitHub and uploading them to the hosting provider. abstract Unitcreate(DeploymentCreateParams params, RequestOptions requestOptions)Unitretrieve(String id, DeploymentRetrieveParams params)Returns deployment details for one project in the authenticated organization. Unitretrieve(String id, DeploymentRetrieveParams params, RequestOptions requestOptions)Unitretrieve(DeploymentRetrieveParams params)abstract Unitretrieve(DeploymentRetrieveParams params, RequestOptions requestOptions)Unitlist(DeploymentListParams params)Lists recent deployments for one project in the authenticated organization. abstract Unitlist(DeploymentListParams params, RequestOptions requestOptions)Unitcancel(String id, DeploymentCancelParams params)Cancels a running deployment after verifying that the referenced project belongs to the authenticated organization. Unitcancel(String id, DeploymentCancelParams params, RequestOptions requestOptions)Unitcancel(DeploymentCancelParams params)abstract Unitcancel(DeploymentCancelParams params, RequestOptions requestOptions)UnitcreateFromFiles()Create a deployment from raw file contents (for Thurgood sandbox deployments) abstract UnitcreateFromFiles(DeploymentCreateFromFilesParams params, RequestOptions requestOptions)UnitcreateFromFiles(DeploymentCreateFromFilesParams params)UnitcreateFromFiles(RequestOptions requestOptions)UnitgetLogs(String id, DeploymentGetLogsParams params)Returns build and runtime log events for a deployment after verifying access to the owning project. UnitgetLogs(String id, DeploymentGetLogsParams params, RequestOptions requestOptions)UnitgetLogs(DeploymentGetLogsParams params)abstract UnitgetLogs(DeploymentGetLogsParams params, RequestOptions requestOptions)UnitgetStatus(String id)Returns the current status of a deployment without fetching full build logs. UnitgetStatus(String id, DeploymentGetStatusParams params, RequestOptions requestOptions)UnitgetStatus(String id, DeploymentGetStatusParams params)abstract UnitgetStatus(DeploymentGetStatusParams params, RequestOptions requestOptions)UnitgetStatus(DeploymentGetStatusParams params)UnitgetStatus(String id, RequestOptions requestOptions)Unitstream(String id, DeploymentStreamParams params)Stream real-time deployment progress events via Server-Sent Events Unitstream(String id, DeploymentStreamParams params, RequestOptions requestOptions)Unitstream(DeploymentStreamParams params)abstract Unitstream(DeploymentStreamParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract DeploymentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract DeploymentService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
Unit create(DeploymentCreateParams params)
Creates a deployment for an existing project by fetching repository files from GitHub and uploading them to the hosting provider. Use ref to deploy a branch, tag, or commit other than the project default branch.
-
create
abstract Unit create(DeploymentCreateParams params, RequestOptions requestOptions)
-
retrieve
Unit retrieve(String id, DeploymentRetrieveParams params)
Returns deployment details for one project in the authenticated organization. Set includeLogs=true to include recent build output in the response.
-
retrieve
Unit retrieve(String id, DeploymentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Unit retrieve(DeploymentRetrieveParams params)
-
retrieve
abstract Unit retrieve(DeploymentRetrieveParams params, RequestOptions requestOptions)
-
list
Unit list(DeploymentListParams params)
Lists recent deployments for one project in the authenticated organization. Use the optional filters to narrow results by target or deployment state.
-
list
abstract Unit list(DeploymentListParams params, RequestOptions requestOptions)
-
cancel
Unit cancel(String id, DeploymentCancelParams params)
Cancels a running deployment after verifying that the referenced project belongs to the authenticated organization. Use this when a build is stuck, misconfigured, or no longer needed.
-
cancel
Unit cancel(String id, DeploymentCancelParams params, RequestOptions requestOptions)
-
cancel
Unit cancel(DeploymentCancelParams params)
-
cancel
abstract Unit cancel(DeploymentCancelParams params, RequestOptions requestOptions)
-
createFromFiles
Unit createFromFiles()
Create a deployment from raw file contents (for Thurgood sandbox deployments)
-
createFromFiles
abstract Unit createFromFiles(DeploymentCreateFromFilesParams params, RequestOptions requestOptions)
-
createFromFiles
Unit createFromFiles(DeploymentCreateFromFilesParams params)
-
createFromFiles
Unit createFromFiles(RequestOptions requestOptions)
-
getLogs
Unit getLogs(String id, DeploymentGetLogsParams params)
Returns build and runtime log events for a deployment after verifying access to the owning project. Use this when you need detailed output for a failed or in-progress build.
-
getLogs
Unit getLogs(String id, DeploymentGetLogsParams params, RequestOptions requestOptions)
-
getLogs
Unit getLogs(DeploymentGetLogsParams params)
-
getLogs
abstract Unit getLogs(DeploymentGetLogsParams params, RequestOptions requestOptions)
-
getStatus
Unit getStatus(String id)
Returns the current status of a deployment without fetching full build logs. Use this endpoint for lightweight polling while a deployment is building or waiting to become ready.
-
getStatus
Unit getStatus(String id, DeploymentGetStatusParams params, RequestOptions requestOptions)
-
getStatus
Unit getStatus(String id, DeploymentGetStatusParams params)
-
getStatus
abstract Unit getStatus(DeploymentGetStatusParams params, RequestOptions requestOptions)
-
getStatus
Unit getStatus(DeploymentGetStatusParams params)
-
getStatus
Unit getStatus(String id, RequestOptions requestOptions)
-
stream
Unit stream(String id, DeploymentStreamParams params)
Stream real-time deployment progress events via Server-Sent Events
-
stream
Unit stream(String id, DeploymentStreamParams params, RequestOptions requestOptions)
-
stream
Unit stream(DeploymentStreamParams params)
-
stream
abstract Unit stream(DeploymentStreamParams params, RequestOptions requestOptions)
-
-
-
-