aem-plugin / com.cognifide.gradle.aem.common.build / PropertyParser

PropertyParser

class PropertyParser

Constructors

<init>

PropertyParser(aem: AemExtension)

Properties

commonProps

val commonProps: Map<String, Any>

envProps

val envProps: MutableMap<String!, String!>!

projectProps

val projectProps: Map<String, Any>

systemProps

val systemProps: Map<String, String>

Functions

boolean

fun boolean(name: String): Boolean?

checkForce

fun checkForce(): Unit

expand

fun expand(file: File, props: Map<String, Any?>): Unit
fun expand(source: String, props: Map<String, Any?>, context: String? = null): String

expandPackage

fun expandPackage(source: String, props: Map<String, Any?>, context: String? = null): String

flag

fun flag(vararg names: String): Boolean
fun flag(name: String): Boolean

int

fun int(name: String): Int?

isForce

fun isForce(): Boolean

list

fun list(name: String, delimiter: String = ","): List<String>?

long

fun long(name: String): Long?

map

fun map(name: String, valueDelimiter: String = ",", keyDelimiter: String = "="): Map<String, String>?

string

fun string(name: String): String?

Companion Object Properties

FORCE_PROP

const val FORCE_PROP: String