Class BreachedRulesContextProvider
java.lang.Object
com.codebarrel.automation.api.component.trigger.servicelimit.BreachedRulesContextProvider
- All Implemented Interfaces:
TemplateRendererContextProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContext(Map<String, Object> unmodifiableContext, ComponentInputs inputs) Returns an map where the key is smart value and the value is what it evaluates to.Information method for what keys this provider will emit to the context.
-
Field Details
-
BREACHED_RULES
- See Also:
-
BREACHED_SUMMARY
- See Also:
-
-
Constructor Details
-
BreachedRulesContextProvider
public BreachedRulesContextProvider()
-
-
Method Details
-
getProvidedKeys
Description copied from interface:TemplateRendererContextProviderInformation method for what keys this provider will emit to the context. Can be used for nicer UI, validation etc.- Specified by:
getProvidedKeysin interfaceTemplateRendererContextProvider
-
getContext
Description copied from interface:TemplateRendererContextProviderReturns an map where the key is smart value and the value is what it evaluates to. Duplicate keys will be overriden, so take care- Specified by:
getContextin interfaceTemplateRendererContextProvider- Parameters:
unmodifiableContext- current context. This is readonly for checking if the value existsinputs- the current inputs objecvt- Returns:
- Not null map of key values.
-