abstract class Renderer
Helpful functions for rendering differences.
This is common functions for each render logic.
See Also
Author
Vladislav Iusiumbeli
Since
1.0.0
<init> |
Helpful functions for rendering differences. Renderer() |
attributeValue |
Read value of the specified attribute. abstract fun attributeValue(map: Map<*, *>, attribute: String): Any? |
containsMethod |
Check if this map contains requested http method. fun containsMethod(map: Map<String, Any?>, path: String, method: String): Boolean |
containsParameter |
Check if specified http method contains requested parameter. fun containsParameter(map: Map<String, Any?>, path: String, method: String, parameter: String, parameterIndex: Int): Boolean |
isFullyRemovedMethod |
Check if fully removed method from specified version. abstract fun isFullyRemovedMethod(left: Map<String, Any?>, right: Map<String, Any?>, path: String, method: String): Boolean |
shouldRenderMethod |
Check whether to render method. abstract fun shouldRenderMethod(tag: String, content: HashAdapter?): Boolean |
versionSelected |
Look up specified in url version in available versions. abstract fun versionSelected(versions: List<String>, urlVersion: String?): String? |
LeftRenderer |
Helpful functions for rendering differences. class LeftRenderer : Renderer |
RightRenderer |
Helpful functions for rendering differences. class RightRenderer : Renderer |