Package com.github.bomiyr.runtimeconfig
Class RuntimeConfigExtension
-
- All Implemented Interfaces:
public abstract class RuntimeConfigExtensionRuntimeConfig plugin extension
-
-
Field Summary
Fields Modifier and Type Field Description private final MapProperty<String, String>fieldsprivate final Property<String>classNameprivate final Property<String>classPackageprivate final Property<String>classModifier
-
Constructor Summary
Constructors Constructor Description RuntimeConfigExtension()
-
Method Summary
Modifier and Type Method Description abstract MapProperty<String, String>getFields()RuntimeConfig fields. abstract Property<String>getClassName()Name of the generated class. abstract Property<String>getClassPackage()Package for the generated class. abstract Property<String>getClassModifier()Modifier for generated object. final Unitfield(String name, String value)Add field to runtime config -
-
Method Detail
-
getFields
abstract MapProperty<String, String> getFields()
RuntimeConfig fields. Map holds key:value pairs (name:value)
-
getClassName
abstract Property<String> getClassName()
Name of the generated class. Default value:
RuntimeConfig
-
getClassPackage
abstract Property<String> getClassPackage()
Package for the generated class. By default it is namespace for your android module (application/library/dynamic-feature)
-
getClassModifier
abstract Property<String> getClassModifier()
Modifier for generated object. Default value: empty (public)
-
-
-
-