Class StringValidator

java.lang.Object
com.amazonaws.xray.entities.StringValidator

@Deprecated
public class StringValidator
extends java.lang.Object
Deprecated.
For internal use only.
  • Constructor Summary

    Constructors 
    Constructor Description
    StringValidator()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static boolean isNotNullOrBlank​(@Nullable java.lang.String string)
    Deprecated.
     
    static boolean isNullOrBlank​(@Nullable java.lang.String string)
    Deprecated.
     
    static void throwIfNullOrBlank​(@Nullable java.lang.String string, java.lang.String validationErrorMessage)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isNotNullOrBlank

      @EnsuresNonNullIf(expression="#1", result=true) public static boolean isNotNullOrBlank​(@Nullable java.lang.String string)
      Deprecated.
    • isNullOrBlank

      @EnsuresNonNullIf(expression="#1", result=false) public static boolean isNullOrBlank​(@Nullable java.lang.String string)
      Deprecated.
    • throwIfNullOrBlank

      public static void throwIfNullOrBlank​(@Nullable java.lang.String string, java.lang.String validationErrorMessage)
      Deprecated.