org.scalawag.sbt.gitflow

GitFlow

class GitFlow extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GitFlow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GitFlow(repository: Repository)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. def identifiedVersion: Option[ArtifactVersion]

    The identifiedVersion is determined by applying the following rules in order, stopping as soon as one succeeds: 1) If the develop branch is checked out, the version is <next_release_version>-SNAPSHOT 2) If a release branch is checked out, the version is <release-version>-SNAPSHOT 3) If a hotfix branch is checked out, the version is <hotfix-version>-SNAPSHOT 4) If a feature branch is checked out, the version is <next-release-version>-<feature-name>-SNAPSHOT 5) If one and only one version tag refers to the current commit, the version is the same as the tag (If more than one version tag refers to the commit, an IllegalStateException is thrown) 6) If one and only one release branch refers to the current commit, the version is <release-version>-SNAPSHOT (If more than one release branch refers to the commit, an IllegalStateException is thrown) 7) If one and only one feature branch refers to the current commit, the version is <next-release-version>-<feature-name>-SNAPSHOT (If more than one feature branch refers to the commit, an IllegalStateException is thrown) 8) If the develop branch refers to the current commit, the version is <next_release_version>-SNAPSHOT 9) If one and only one hotfix branch refers to the current commit, the version is <hotfix-version>-SNAPSHOT (If more than one feature branch refers to the commit, an IllegalStateException is thrown)

    The identifiedVersion is determined by applying the following rules in order, stopping as soon as one succeeds: 1) If the develop branch is checked out, the version is <next_release_version>-SNAPSHOT 2) If a release branch is checked out, the version is <release-version>-SNAPSHOT 3) If a hotfix branch is checked out, the version is <hotfix-version>-SNAPSHOT 4) If a feature branch is checked out, the version is <next-release-version>-<feature-name>-SNAPSHOT 5) If one and only one version tag refers to the current commit, the version is the same as the tag (If more than one version tag refers to the commit, an IllegalStateException is thrown) 6) If one and only one release branch refers to the current commit, the version is <release-version>-SNAPSHOT (If more than one release branch refers to the commit, an IllegalStateException is thrown) 7) If one and only one feature branch refers to the current commit, the version is <next-release-version>-<feature-name>-SNAPSHOT (If more than one feature branch refers to the commit, an IllegalStateException is thrown) 8) If the develop branch refers to the current commit, the version is <next_release_version>-SNAPSHOT 9) If one and only one hotfix branch refers to the current commit, the version is <hotfix-version>-SNAPSHOT (If more than one feature branch refers to the commit, an IllegalStateException is thrown)

    The following patterns are used to identify the branches: release branch: release/<release-version> hotfix branch: hotfix/<hotfix-version> feature branch: feature/<feature-name> develop branch: develop

    Version tags must match the pattern <major>.<minor>.<optional incremental> Regex: \d+\.\d+(\.\d+)?

    returns

    the best artifact version to use, given the state of git

  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. val repository: Repository

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

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    GitFlow → AnyRef → Any
  21. def version: ArtifactVersion

    Returns the identifiedVersion of the git directory (if available).

    Returns the identifiedVersion of the git directory (if available). Otherwise, throws an IllegalStateException.

  22. def versionOrDevelop: ArtifactVersion

    Returns the identifiedVersion of the git directory (if available).

    Returns the identifiedVersion of the git directory (if available). Otherwise, returns the current develop version.

  23. def versionOrZero: ArtifactVersion

    Returns the identifiedVersion of the git directory (if available).

    Returns the identifiedVersion of the git directory (if available). Otherwise, returns 0.0-SNAPSHOT.

  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped