Class

coursier.publish.fileset.Group

Module

Related Doc: package Group

Permalink

final case class Module(organization: Organization, name: ModuleName, version: String, snapshotVersioning: Option[String], files: DirContent) extends Group with Product with Serializable

Subset of a FileSet corresponding to a particular module.

That is to the files of a particular - published - version of a given module.

Linear Supertypes
Group, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Module
  2. Group
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Module(organization: Organization, name: ModuleName, version: String, snapshotVersioning: Option[String], files: DirContent)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addMavenMetadata(now: Instant): Module

    Permalink

    Adds a maven-metadata.xml file to this module if it doesn't have one already.

  5. def addSnapshotVersioning(now: Instant, ignoreExtensions: Set[String]): Task[Module]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def baseDir: Seq[String]

    Permalink
  8. def clearSnapshotVersioning: Module

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def dependenciesOpt: Task[Seq[core.Module]]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def fileSet: FileSet

    Permalink

    FileSet corresponding to this Group

    FileSet corresponding to this Group

    Definition Classes
    ModuleGroup
  13. val files: DirContent

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def mavenMetadataContentOpt: Option[Content]

    Permalink
  18. def module: core.Module

    Permalink
  19. val name: ModuleName

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def ordered: Module

    Permalink

    Ensure the files of this Group are ordered (POMs last for Group.Module, etc.)

    Ensure the files of this Group are ordered (POMs last for Group.Module, etc.)

    Definition Classes
    ModuleGroup
  24. val organization: Organization

    Permalink
    Definition Classes
    ModuleGroup
  25. def pomOpt: Option[(String, Content)]

    Permalink

    The POM file of this Module, if any.

  26. def removeMavenMetadata: Module

    Permalink
  27. val snapshotVersioning: Option[String]

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def transform(map: Map[(Organization, ModuleName), (Organization, ModuleName)], now: Instant): Task[Module]

    Permalink

    Changes any reference to the first coordinates to the second ones.

    Changes any reference to the first coordinates to the second ones.

    Coordinates can be our coordinates, or those of dependencies, exclusions, …

    Definition Classes
    ModuleGroup
  30. def transformPom(now: Instant)(f: (Elem) ⇒ Elem): Task[Module]

    Permalink
  31. def updateMavenMetadata(now: Instant): Task[Module]

    Permalink

    Updates the maven-metadata.xml file of this Module, so that it contains the same org / name.

  32. def updateMetadata(org: Option[Organization], name: Option[ModuleName], version: Option[String], licenses: Option[Seq[License]], developers: Option[Seq[Developer]], homePage: Option[String], gitDomainPath: Option[(String, String)], distMgmtRepo: Option[(String, String, String)], now: Instant): Task[Module]

    Permalink

    Adjust the organization / name / version.

    Adjust the organization / name / version.

    Possibly changing those in POM or maven-metadata.xml files.

  33. def updatePom(now: Instant, licenses: Option[Seq[License]], developers: Option[Seq[Developer]], homePage: Option[String], gitDomainPath: Option[(String, String)], distMgmtRepo: Option[(String, String, String)]): Task[Module]

    Permalink

    Adjust the POM of this Module, so that it contains the same org / name / version as this Module.

    Adjust the POM of this Module, so that it contains the same org / name / version as this Module.

    Calling this method, or running its Task, doesn't write anything on disk. The new POM stays in memory (via Content.InMemory). The returned Module only lives in memory. The only effect here is possibly reading stuff on disk.

  34. val version: String

    Permalink
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Group

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped