MavenCentral

com.jamesward.zio_mavencentral.MavenCentral
object MavenCentral

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class ArtifactAndVersion(artifactId: ArtifactId, maybeVersion: Option[Version] = ...)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ArtifactId

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ArtifactId.type
object CaseInsensitiveOrdering extends Ordering[ArtifactId]

Attributes

Supertypes
trait Ordering[ArtifactId]
trait PartialOrdering[ArtifactId]
trait Equiv[ArtifactId]
trait Serializable
trait Comparator[ArtifactId]
class Object
trait Matchable
class Any
Show all
Self type
object Deploy

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Deploy.type
case class GroupArtifact(groupId: GroupId, artifactId: ArtifactId)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GroupArtifactVersion(groupId: GroupId, artifactId: ArtifactId, version: Version)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object GroupId

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
GroupId.type
case class GroupIdNotFoundError(groupId: GroupId)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GroupIdOrArtifactIdNotFoundError(groupId: GroupId, artifactId: ArtifactId)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class JavadocNotFoundError(groupId: GroupId, artifactId: ArtifactId, version: Version)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ParseError(t: Throwable) extends Throwable

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class SeqWithLastModified[A](items: Seq[A], maybeLastModified: Option[ZonedDateTime])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UnknownError(response: Response) extends Throwable

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Version

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Version.type

Types

opaque type ArtifactId
opaque type GroupId
opaque type Version

Value members

Concrete methods

def artifactExists(groupId: GroupId, artifactId: ArtifactId, version: Version): ZIO[Client & Scope, Throwable, Boolean]
def artifactPath(groupId: GroupId, artifactAndVersion: Option[ArtifactAndVersion] = ...): Path
def downloadAndExtractZip(source: URL, destination: File): ZIO[Client & Scope, Throwable, Unit]
def isArtifact(groupId: GroupId, artifactId: ArtifactId): ZIO[Client & Scope, Throwable, Boolean]
def isModifiedSince(dateTime: ZonedDateTime, groupId: GroupId, maybeArtifactId: Option[ArtifactId] = ...): ZIO[Client & Scope, GroupIdNotFoundError | GroupIdOrArtifactIdNotFoundError | Throwable, Boolean]
def javadocUri(groupId: GroupId, artifactId: ArtifactId, version: Version): ZIO[Client & Scope, JavadocNotFoundError | Throwable, URL]
def latest(groupId: GroupId, artifactId: ArtifactId): ZIO[Client & Scope, GroupIdOrArtifactIdNotFoundError | Throwable, Option[Version]]
def searchArtifacts(groupId: GroupId): ZIO[Client & Scope, GroupIdNotFoundError | Throwable, SeqWithLastModified[ArtifactId]]
def searchVersions(groupId: GroupId, artifactId: ArtifactId): ZIO[Client & Scope, GroupIdOrArtifactIdNotFoundError | Throwable, SeqWithLastModified[Version]]

Extensions

Extensions

extension (client: Client.type)
def requestWithFallback(path: Path, method: Method = ..., headers: Headers = ..., content: Body = ..., primaryBaseUrl: String = ..., fallbackBaseUrl: String = ...)(implicit trace: Trace): ZIO[Client & Scope, Throwable, (Response, String)]
extension (groupId: GroupId)
def /(artifactId: ArtifactId): Path