Class DeployRequest

    • Constructor Detail

      • DeployRequest

        public DeployRequest()
        Creates an uninitialized request.
    • Method Detail

      • setArtifacts

        public DeployRequest setArtifacts​(Collection<Artifact> artifacts)
        Sets the artifacts to deploy.
        Parameters:
        artifacts - The artifacts to deploy, may be null.
        Returns:
        This request for chaining, never null.
      • addArtifact

        public DeployRequest addArtifact​(Artifact artifact)
        Adds the specified artifacts for deployment.
        Parameters:
        artifact - The artifact to add, may be null.
        Returns:
        This request for chaining, never null.
      • setMetadata

        public DeployRequest setMetadata​(Collection<Metadata> metadata)
        Sets the metadata to deploy.
        Parameters:
        metadata - The metadata to deploy, may be null.
        Returns:
        This request for chaining, never null.
      • addMetadata

        public DeployRequest addMetadata​(Metadata metadata)
        Adds the specified metadata for deployment.
        Parameters:
        metadata - The metadata to add, may be null.
        Returns:
        This request for chaining, never null.
      • getRepository

        public RemoteRepository getRepository()
        Gets the repository to deploy to.
        Returns:
        The repository to deploy to or null if not set.
      • setRepository

        public DeployRequest setRepository​(RemoteRepository repository)
        Sets the repository to deploy to.
        Parameters:
        repository - The repository to deploy to, may be null.
        Returns:
        This request for chaining, never null.
      • getTrace

        public RequestTrace getTrace()
        Gets the trace information that describes the higher level request/operation in which this request is issued.
        Returns:
        The trace information about the higher level operation or null if none.
      • setTrace

        public DeployRequest setTrace​(RequestTrace trace)
        Sets the trace information that describes the higher level request/operation in which this request is issued.
        Parameters:
        trace - The trace information about the higher level operation, may be null.
        Returns:
        This request for chaining, never null.