GlobalParameter

abstract class GlobalParameter

An abstract class for creating pairs of strings that represent global parameters.

This class provides an infix function to that takes two strings as parameters and creates a pair of strings. The pair can then be added to a list or a map of global parameters. The class also defines an abstract method addParameter that takes a pair of strings as a parameter and adds it to a specific collection. The subclasses of this class should implement this method according to their own logic.

Author

TOTHTOMI

Since

Jul. 25, 2023

Inheritors

Constructors

Link copied to clipboard
constructor()

Creates a new GlobalParameter object.

Functions

Link copied to clipboard
abstract fun addParameter(pair: Pair<String, String>)

Adds a pair of strings to a specific collection.

Link copied to clipboard
infix fun String.to(value: String)

Creates a pair of strings that represent a global parameter.