Skip to content

Commit

Permalink
[#4] Rename base task class
Browse files Browse the repository at this point in the history
  • Loading branch information
szpak committed Nov 4, 2019
1 parent afbb6f4 commit 05b4e81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import java.time.Duration
import javax.inject.Inject

@Suppress("UnstableApiUsage")
abstract class BaseOperationOnNexusStagingRepository @Inject
abstract class AbstractNexusStagingRepositoryTask @Inject
constructor(objects: ObjectFactory, extension: NexusPublishExtension, repository: NexusRepository) : DefaultTask() {

@get:Input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import javax.inject.Inject
@Suppress("UnstableApiUsage")
open class CloseNexusStagingRepository @Inject
constructor(objects: ObjectFactory, extension: NexusPublishExtension, repository: NexusRepository) :
BaseOperationOnNexusStagingRepository(objects, extension, repository) {
AbstractNexusStagingRepositoryTask(objects, extension, repository) {

@get:Input
val stagingRepositoryId: Property<String> = objects.property()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import javax.inject.Inject
@Suppress("UnstableApiUsage")
open class InitializeNexusStagingRepository @Inject
constructor(objects: ObjectFactory, extension: NexusPublishExtension, repository: NexusRepository, private val serverUrlToStagingRepoUrl: MutableMap<URI, URI>) :
BaseOperationOnNexusStagingRepository(objects, extension, repository) {
AbstractNexusStagingRepositoryTask(objects, extension, repository) {

private val stagingRepositoryId: Property<String> = repository.stagingRepositoryId

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import javax.inject.Inject
@Suppress("UnstableApiUsage")
open class ReleaseNexusStagingRepository @Inject
constructor(objects: ObjectFactory, extension: NexusPublishExtension, repository: NexusRepository) :
BaseOperationOnNexusStagingRepository(objects, extension, repository) {
AbstractNexusStagingRepositoryTask(objects, extension, repository) {

@get:Input
val stagingRepositoryId: Property<String> = objects.property()
Expand Down

0 comments on commit 05b4e81

Please sign in to comment.