Package com.opencloud.slee.rest.common
Class Verifier.UrlVerifier
- java.lang.Object
-
- com.opencloud.slee.rest.common.Verifier.NotNullVerifier<java.lang.String>
-
- com.opencloud.slee.rest.common.Verifier.NotEmptyStringVerifier
-
- com.opencloud.slee.rest.common.Verifier.UrlVerifier
-
- All Implemented Interfaces:
Verifier<java.lang.String>
public static class Verifier.UrlVerifier extends Verifier.NotEmptyStringVerifier
Verify that a String property value is a valid URL
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.opencloud.slee.rest.common.Verifier
Verifier.Base64EncodedVerifier, Verifier.NoOpVerifier<T>, Verifier.NotEmptyStringVerifier, Verifier.NotNullVerifier<T>, Verifier.UrlVerifier
-
-
Constructor Summary
Constructors Constructor Description UrlVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerifyResult
verify(java.lang.String value)
Verify a config property value.
-
-
-
Method Detail
-
verify
public VerifyResult verify(java.lang.String value)
Description copied from interface:Verifier
Verify a config property value.- Specified by:
verify
in interfaceVerifier<java.lang.String>
- Overrides:
verify
in classVerifier.NotEmptyStringVerifier
- Parameters:
value
- the value to be verified- Returns:
- true if the value is valid
-
-