Package com.opencloud.slee.rest.common
Class Verifier.NotEmptyStringVerifier
- java.lang.Object
-
- com.opencloud.slee.rest.common.Verifier.NotNullVerifier<java.lang.String>
-
- com.opencloud.slee.rest.common.Verifier.NotEmptyStringVerifier
-
- All Implemented Interfaces:
Verifier<java.lang.String>
- Direct Known Subclasses:
Verifier.Base64EncodedVerifier
,Verifier.UrlVerifier
public static class Verifier.NotEmptyStringVerifier extends Verifier.NotNullVerifier<java.lang.String>
Verify that a String property value is not an empty string
-
-
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 NotEmptyStringVerifier()
-
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.NotNullVerifier<java.lang.String>
- Parameters:
value
- the value to be verified- Returns:
- true if the value is valid
-
-