ArgumentValueConfig

sealed class ArgumentValueConfig : Serializable

Defines an argument value that can be generated in code as a constructor argument or a function call argument.

All subclasses needs to be Serializable to allow the instance to to be used as Gradle task input.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
object Context : ArgumentValueConfig

Generated code will provide the Android Context class instance as argument value.

Link copied to clipboard
data class ExternalConstant(    val propertyName: String,     val implementationModule: ModuleReference,     val subPackageName: String? = null) : ArgumentValueConfig, Serializable

Generated code will result in providing an external imported constant value as argument value.

Link copied to clipboard
data class NumberLiteral(val value: String) : ArgumentValueConfig, Serializable

Generated code will result in providing a number literal as argument value.

Link copied to clipboard
data class StringLiteral(val value: String) : ArgumentValueConfig, Serializable

Generated code will result in providing a string literal as argument value.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard