Package com.opencloud.slee.rest.common
Class Verifier.Base64EncodedVerifier
- 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.Base64EncodedVerifier
-
- All Implemented Interfaces:
Verifier<java.lang.String>
public static class Verifier.Base64EncodedVerifier extends Verifier.NotEmptyStringVerifier
Verify that a String property value contains valid base64 characters
-
-
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 Base64EncodedVerifier()
-
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
-
-