aem-plugin / com.cognifide.gradle.aem.common.instance.service.repository / Properties

Properties

class Properties : LinkedHashMap<String, Any>

Provides easy conversion of properties to desired types. Sling's ValueMap equivalent.

Constructors

<init>

Provides easy conversion of properties to desired types. Sling's ValueMap equivalent.

Properties(node: Node, props: Map<String, Any>)

Properties

json

val json: String

node

val node: Node

Functions

boolean

fun boolean(name: String): Boolean?

booleans

fun booleans(name: String): List<Boolean>?

calendar

fun calendar(name: String): Calendar?

calendars

fun calendars(name: String): List<Calendar>?

date

fun date(name: String): Date?

dates

fun dates(name: String): List<Date>?

double

fun double(name: String): Double?

doubles

fun doubles(name: String): List<Double>?

long

fun long(name: String): Long?

longs

fun longs(name: String): List<Long>?

string

fun string(name: String): String?

strings

fun strings(name: String): List<String>?

toString

fun toString(): String