diff --git a/modules/nextflow/src/main/groovy/nextflow/scm/RepositoryProvider.groovy b/modules/nextflow/src/main/groovy/nextflow/scm/RepositoryProvider.groovy index 75a6d2798e..dc87b2f827 100644 --- a/modules/nextflow/src/main/groovy/nextflow/scm/RepositoryProvider.groovy +++ b/modules/nextflow/src/main/groovy/nextflow/scm/RepositoryProvider.groovy @@ -73,11 +73,23 @@ abstract class RepositoryProvider { return this } + String getRevision() { + return this.revision + } + RepositoryProvider setRevision(String revision) { this.revision = revision return this } + String getProject() { + return this.project + } + + ProviderConfig getConfig() { + return this.config + } + boolean hasCredentials() { getUser() && getPassword() }