Package com.blackbuild.klum.ast.runtime
Class KlumValidationReporter
java.lang.Object
com.blackbuild.klum.ast.runtime.KlumValidationReporter
Reports validation diagnostics during a framework-managed lifecycle callback or closure.
Instances obtained from KlumSchemaSupport.getKlumValidation() use the current lifecycle target and its
member as the default issue location. Instances obtained from KlumSchemaSupport.klumValidationForObject(Object)
always report on that explicit target and use no member unless an *At operation supplies one.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRecords an error at the current lifecycle member or at the explicit target.voidRecords an error atmember.com.blackbuild.klum.ast.Validate.LevelReturns the fail level configured byklum.validation.failOnLevel.voidRecords an issue at the current lifecycle member or at the explicit target.voidRecords an issue atmember.voidSuppresses future non-error issues for every member.voidsuppressAll(com.blackbuild.klum.ast.Validate.Level level) Suppresses future issues throughlevelfor every member.voidsuppressOn(String member) Suppresses future non-error issues formember.voidsuppressOn(String member, com.blackbuild.klum.ast.Validate.Level level) Suppresses future issues throughlevelformember.
-
Method Details
-
error
Records an error at the current lifecycle member or at the explicit target. -
errorAt
Records an error atmember. -
issue
Records an issue at the current lifecycle member or at the explicit target. -
issueAt
Records an issue atmember. -
suppressOn
Suppresses future non-error issues formember. -
suppressOn
Suppresses future issues throughlevelformember. -
suppressAll
public void suppressAll()Suppresses future non-error issues for every member. -
suppressAll
public void suppressAll(com.blackbuild.klum.ast.Validate.Level level) Suppresses future issues throughlevelfor every member. -
getFailLevel
public com.blackbuild.klum.ast.Validate.Level getFailLevel()Returns the fail level configured byklum.validation.failOnLevel.
-