public class SystemPropertyValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
checkHttpTimeoutProperty(Function<String,T> exceptionFactory)
Checks the
jib.httpTimeout system property for invalid (non-integer or negative)
values. |
public static <T extends Throwable> void checkHttpTimeoutProperty(Function<String,T> exceptionFactory) throws T extends Throwable
jib.httpTimeout system property for invalid (non-integer or negative)
values.T - the exception type to throw if invalid valuesexceptionFactory - factory to create an exception with the given descriptionT - if invalid valuesT extends ThrowableCopyright © 2018. All rights reserved.