java.lang.Object
io.prometheus.jmx.common.configuration.ValidateStringIsNotBlank
- All Implemented Interfaces:
Function<String,String>
Class to validate a String is not blank, throwing a RuntimeException from the Supplier if there
is a ClassCastException
-
Constructor Summary
Constructors
-
Method Summary
Method to apply a function
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ValidateStringIsNotBlank
Constructor
- Parameters:
supplier
- supplier
-
Method Details
-
apply
Method to apply a function
- Specified by:
apply
in interface Function<String,String>
- Parameters:
value
- value
- Returns:
- the return value