Class DefaultValueValidationRule
-
- All Implemented Interfaces:
-
com.jetbrains.fus.reporting.api.FUSRule
public final class DefaultValueValidationRule extends PerformanceCareRule
-
-
Field Summary
Fields Modifier and Type Field Description public final static PayloadKey<Integer>GROUP_VERSION_PAYLOADpublic final static PayloadKey<String>DEFAULT_VALUE_PAYLOADpublic final static PayloadKey<Map<String, ValidationResultType>>FIELD_VALIDATION_RESULTSprivate final StringeventIdprivate final StringdefaultValueprivate final List<IntRange>groupVersionRanges
-
Constructor Summary
Constructors Constructor Description DefaultValueValidationRule(String eventId, String defaultValue, String rangeString)
-
Method Summary
Modifier and Type Method Description final StringgetEventId()final StringgetDefaultValue()final List<IntRange>getGroupVersionRanges()FUSRule.FUSRuleTypegetRuleType()final static UnitsetDefaultValuePayload(String defaultValue, IEventContext context)final static ObjectgetNestedEventData(Map<String, Object> eventData, String key)-
-
Method Detail
-
getEventId
final String getEventId()
-
getDefaultValue
final String getDefaultValue()
-
getGroupVersionRanges
final List<IntRange> getGroupVersionRanges()
-
getRuleType
FUSRule.FUSRuleType getRuleType()
-
setDefaultValuePayload
final static Unit setDefaultValuePayload(String defaultValue, IEventContext context)
-
-
-
-