Class InstallRequest

    • Constructor Detail

      • InstallRequest

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

      • setArtifacts

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

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

        public InstallRequest addMetadata​(Metadata metadata)
        Adds the specified metadata for installation.
        Parameters:
        metadata - The metadata to add, 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 InstallRequest 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.