Search in sources :

Example 1 with DeleteReleaseBundleRequest

use of org.jfrog.build.extractor.clientConfiguration.client.distribution.request.DeleteReleaseBundleRequest in project build-info by JFrogDev.

the class RemoteDistributionManagerTest method createDeletionRequest.

private DeleteReleaseBundleRequest createDeletionRequest() {
    DeleteReleaseBundleRequest deletionRequest = new DeleteReleaseBundleRequest();
    List<DistributionRules> distributionRules = Lists.newArrayList(new DistributionRules.Builder().siteName("*").build());
    deletionRequest.setDistributionRules(distributionRules);
    deletionRequest.setOnSuccess(DeleteReleaseBundleRequest.OnSuccess.delete);
    return deletionRequest;
}
Also used : DeleteReleaseBundleRequest(org.jfrog.build.extractor.clientConfiguration.client.distribution.request.DeleteReleaseBundleRequest) DistributionRules(org.jfrog.build.extractor.clientConfiguration.client.distribution.types.DistributionRules)

Aggregations

DeleteReleaseBundleRequest (org.jfrog.build.extractor.clientConfiguration.client.distribution.request.DeleteReleaseBundleRequest)1 DistributionRules (org.jfrog.build.extractor.clientConfiguration.client.distribution.types.DistributionRules)1