In package com.eden.orchid.api.publication

class com.eden.orchid.api.publication.AbstractGitPublisher

Fields

lateinit var commitUsername: String
lateinit var commitEmail: String
lateinit var commitMessage: String
lateinit var branch: String
lateinit var publishType: PublishType
lateinit var latestDirName: String
protected abstract displayedRemoteUrl: String
protected abstract remoteUrl: String

Constructors

constructor(context: OrchidContext, git: GitFacade, destinationDir: String, defaultBranch: String, type: String, priority: Int)
Parameters:
  • context: OrchidContext
  • git: GitFacade
  • destinationDir: String
  • defaultBranch: String
  • type: String
  • priority: Int

Methods

open fun validate(): Boolean
Parameters:
  • No parameters
open fun publish()
Parameters:
  • No parameters
open fun GitRepoFacade.beforeCommit()
Parameters:
  • No parameters