differ-core / com.differ.differcore.render / RightRenderer

RightRenderer

@Component class RightRenderer : Renderer

Helpful functions for rendering differences.

Author
Vladislav Iusiumbeli

Since
1.0.0

Constructors

<init>

Helpful functions for rendering differences.

RightRenderer()

Functions

attributeValue

Read value of the specified attribute.

fun attributeValue(map: Map<*, *>, attribute: String): Any?

isFullyRemovedMethod

Check if fully removed method from specified version.

fun isFullyRemovedMethod(left: Map<String, Any?>, right: Map<String, Any?>, path: String, method: String): Boolean

shouldRenderMethod

Check if this map contains requested tag.

fun shouldRenderMethod(tag: String, content: HashAdapter?): Boolean

versionSelected

Look up specified in url version in available versions.

fun versionSelected(versions: List<String>, urlVersion: String?): String?