Class PublishPortalDeployment

  • All Implemented Interfaces:

    
    public final class PublishPortalDeployment
    
                        

    Lazy class acting as a container for stateful operations on Maven Central Portal.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final PublishingApi client
      private final String deploymentId
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final PublishingApi getClient() The NexusClient.
      final String getDeploymentId() Lazily computed staging repository descriptor.
      final String upload(File bundle, String name, Boolean releaseAfterUpload) Uploads a bundle to the Central Portal, returning the upload id.
      final String upload(File bundle, String name) Uploads a bundle to the Central Portal, returning the upload id.
      final String upload(File bundle) Uploads a bundle to the Central Portal, returning the upload id.
      final Unit validate(Duration waitAmongRetries) Validates the deployment.
      final Unit release(Duration waitAmongRetries) Releases the deployment.
      final Unit drop(Duration waitAmongRetries) Drops the repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait