All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.extension.bitbucket.cloud.configuration.BitbucketCloudConfigurationUserMenuExtension.kt Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.extension.bitbucket.cloud.configuration

import net.nemerosa.ontrack.extension.api.UserMenuExtension
import net.nemerosa.ontrack.extension.bitbucket.cloud.BitbucketCloudExtensionFeature
import net.nemerosa.ontrack.extension.support.AbstractExtension
import net.nemerosa.ontrack.model.security.GlobalFunction
import net.nemerosa.ontrack.model.security.GlobalSettings
import net.nemerosa.ontrack.model.support.Action
import net.nemerosa.ontrack.model.support.Action.Companion.of
import org.springframework.stereotype.Component

/**
 * Management of Bitbucket Cloud configurations available in the user menu.
 */
@Component
class BitbucketCloudConfigurationUserMenuExtension(
    feature: BitbucketCloudExtensionFeature
) : AbstractExtension(feature), UserMenuExtension {

    override fun getGlobalFunction(): Class = GlobalSettings::class.java

    override fun getAction(): Action =
        of("bitbucket-cloud-configurations", "Bitbucket Cloud configurations", "configurations")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy