Interface ParameterEntry

All Known Implementing Classes:
MpParameterEntry
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ParameterEntry

The class represents a single line of the Parameter parameter. Each parameter may contain any number of such lines.

Each line of the parameter (ParameterEntry) contains:
  • matching pattern ( levels ) - values/patterns for each level
  • value ( value ) - value returned as parameter value if this line is selected
  • function from repository ( function ) - function whose result is returned if value is equal to null

The matching pattern - is an dynamic array of String [] levels, which is implicitly expanded in setters if a nonexistent index is referenced.

ParameterEntry can store values for any number of levels, but only 8 fields are persistent: from getLevel1 () to getLevel8 () . If there are more than 8 levels, the value of getLevel8 includes the eighth level and more concatenated with a semicolon ( ";" ).
Since:
0.1.0
Author:
Przemek Hertel, Adam Dubiel
  • Method Summary

    Modifier and Type
    Method
    Description
    Get all level patterns for this row.
  • Method Details

    • getLevels

      String[] getLevels()
      Get all level patterns for this row. Both input and output levels.
      Returns:
      levels row values