aem-plugin / com.cognifide.gradle.aem.common.pkg / PackageValidator

PackageValidator

class PackageValidator

Constructors

<init>

PackageValidator(aem: AemExtension)

Properties

aem

val aem: AemExtension

baseFile

val baseFile: RegularFileProperty!

cndFile

val cndFile: RegularFileProperty!

cndFiles

val cndFiles: ConfigurableFileCollection!

cndSync

val cndSync: CndSync

configDir

val configDir: DirectoryProperty!

configFiles

val configFiles: ConfigurableFileCollection!

enabled

Allows to disable package validation at all.

val enabled: Property<Boolean!>!

jcrNamespaces

val jcrNamespaces: MapProperty<String!, String!>!

jcrPrivileges

val jcrPrivileges: ListProperty<String!>!

planFile

val planFile: RegularFileProperty!

planName

val planName: Property<String!>!

reportFile

val reportFile: RegularFileProperty!

severity

Determines which level of validation message is indicating failed validation.

val severity: Property<Severity!>!

verbose

Controls if failed validation should also fail current build.

val verbose: Property<Boolean!>!

workDir

val workDir: DirectoryProperty!

Functions

base

fun base(value: Any): Unit
fun base(provider: () -> File): Unit

oakMachine

fun oakMachine(options: Builder.() -> Unit): Unit

perform

fun perform(vararg packages: File): Unit
fun perform(packages: Iterable<File>): Unit
fun perform(packages: Collection<File>): Unit

planClassLoader

fun planClassLoader(provider: () -> ClassLoader): Unit

severity

fun severity(name: String): Unit