| Interface | Description |
|---|---|
| MultiStrategyCommand |
A common interface for objects that implement multiple strategies
|
| Class | Description |
|---|---|
| Arabic |
A function command that converts a Roman numeral to Arabic.
|
| Average |
This class implements a function that returns the average of collection of elements.
|
| BasicAuthorizationHeader |
This class implements a JEP function that generates a basic authorization header from
given credentials (username and password).
|
| BinaryBooleanFunction |
An "abstract" function that accepts two parameters (of any type) and returns 1 (true)
or 0 (false), depending on the target evaluation strategy.
|
| BinaryDateFunction |
An "abstract" function that receives two objects: a Date and an integer, and returns a
Date, with concrete behavior defined by
BinaryDateFunction.Strategy. |
| BinaryStringFunction |
An "abstract" function that accepts two strings and returns an object.
|
| Concat |
This class implements a JEP function command that concatenates elements.
|
| Count |
This class implements a JEP function that counts elements.
|
| DateAwareComparative |
An extension of JEP's Comparative command that can also handle strings and dates.
|
| DateFieldGetter |
An "abstract" function that returns a field from a Date, depending on the assigned
DateFieldGetter.DateField fetching strategy. |
| DateToString |
A command that formats dates in a specified pattern
|
| DaysBetween |
A command that returns the number of days between two dates
|
| Distinct |
This class implements a function that returns a list consisting of distinct elements of
a given collection.
|
| Element |
A command that returns elements from Java Lists and JSONArrays given the index.
|
| EndOfMonth |
A function that returns the date corresponding to the last day of the month given a
source date
|
| FormatString |
A command that formats strings based on a pattern and variable arguments
|
| Http |
A function that invokes a method from a Web Server, given a method, a URL, a request
body, and an optional headers, and returns a client response object.
|
| HttpGet |
A function that reads content from a Web Server, given a URL and an optional media
type, and returns server response as string
|
| HttpHeader | |
| HttpResponseHandler |
An "abstract" function that reads data from a
WebServiceResponse object. |
| IsEmpty |
A function that returns 1 if the given parameter is either an empty String, JSON or
Collection, or 0 if not.
|
| IsLeapYear |
A function that returns 1 if the given parameter is either a leap year or a Date whose
year is a leap year, or 0 if not.
|
| JsonPath |
This class implements a function that evaluates JSONPaths.
|
| Max |
This class implements a function that returns the highest element in a collection of
elements using Java Expression Parser.
|
| Min |
This class implements a function that returns the lowest element in a collection of
elements using Java Expression Parser.
|
| NormalizeString |
This class implements a JEP function that normalizes Unicode strings, replacing accents
and other diacritics with ASCII characters.
|
| Now |
This class implements a function command that returns system's current date and time.
|
| ReadFile |
A function that reads the content a text file from the file system
|
| Replace |
An "abstract" function that replaces occurrences of a string with another string.
|
| Roman |
A function command that converts an Arabic numeral to Roman.
|
| StringPaddingFunction |
An "abstract" function for string padding, which accepts a variable number of arguments
(either two or three parameters), and executes a particular strategy defined by
StringPaddingFunction.Strategy. |
| StringToDate |
A function that converts a string into a date.
|
| TypeOf |
A function that returns the Java type associated with the given parameter
|
| UnaryBooleanFunction |
An "abstract" function that accepts one object as argument and returns a boolean value,
represented as 1 (true) or 0 (false).
|
| UnaryEncryptionFunction |
An "abstract" function that accepts one object as parameter and converts it into an
encrypted string.
|
| UnaryStringFunction |
An "abstract" function that receives a string object and produces another string after
processing the strategy defined by a delegating
UnaryStringFunction.Strategy. |
| UnarySystemFunction |
An "abstract" function that receives a single parameter and retrieves system data.
|
| UUID |
This class implements a JEP function that produces a UUID.
|
| XPath |
This class implements a function that evaluates XPaths.
|
| Enum | Description |
|---|---|
| BinaryBooleanFunction.Strategy |
Defines particular strategies for the
BinaryBooleanFunction. |
| BinaryDateFunction.Strategy |
Defines particular strategies for the
BinaryDateFunction. |
| BinaryStringFunction.Strategy |
Defines particular concrete behaviors for the
BinaryStringFunction. |
| DateFieldGetter.DateField |
Defines particular field-fetching strategies for a given date.
|
| HttpResponseHandler.Strategy |
Defines particular data-fetch strategies for a given
WebServiceResponse. |
| Replace.Strategy |
Defines particular strategies for the
Replace function. |
| StringPaddingFunction.Strategy |
Defines particular string-padding behaviors, such as right-padding and left-padding.
|
| UnaryBooleanFunction.Strategy |
Defines particular object predicates for the
UnaryBooleanFunction. |
| UnaryEncryptionFunction.EncryptionAlgorithm |
Defines particular strategies for string encryption, such as the encryption algorithm.
|
| UnaryStringFunction.Strategy |
Defines the strategy to be executed for a string, such as trimming and conversion to
lower/upper/camel-case.
|
| UnarySystemFunction.Strategy |
Defines particular strategies for the
UnarySystemFunction. |
| Annotation Type | Description |
|---|---|
| Function |
Indicates that an object is a custom function, and assigns names/aliases to it.
|
Provides functions for the Java Expression Parser.
A function is an object that extends JEP's PostfixMathCommand. This class uses
a stack for passing the arguments via the run() method.
Each function can also receive a custom annotation @Function, which basically
tells the JEPContextFactory the function name and alias to be registered.
Copyright © 2023. All rights reserved.