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

io.github.freya022.botcommands.internal.components.handler.options.ComponentHandlerOption.kt Maven / Gradle / Ivy

package io.github.freya022.botcommands.internal.components.handler.options

import io.github.freya022.botcommands.api.components.options.ComponentOption
import io.github.freya022.botcommands.api.parameters.resolvers.ComponentParameterResolver
import io.github.freya022.botcommands.internal.components.handler.options.builder.ComponentHandlerOptionBuilderImpl
import io.github.freya022.botcommands.internal.core.options.OptionImpl
import io.github.freya022.botcommands.internal.core.options.OptionType

internal class ComponentHandlerOption internal constructor(
    override val parent: ComponentHandlerParameterImpl,
    optionBuilder: ComponentHandlerOptionBuilderImpl,
    internal val resolver: ComponentParameterResolver<*, *>
) : OptionImpl(optionBuilder.optionParameter, OptionType.OPTION),
    ComponentOption {

    override val executable get() = parent.executable
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy