Class BambooValidate

java.lang.Object
com.atlassian.bamboo.utils.BambooValidate

public class BambooValidate extends Object
Place for all validation methods you can't find in org.apache.commons.validator framework
  • Method Details

    • notInsideTransaction

      public static void notInsideTransaction()
      Validate if thread is running outside transaction, throwing RuntimeException if it is inside transaction.
    • notInsideTransaction

      public static void notInsideTransaction(@Nullable @Nullable String message)
      Validate if thread is running outside transaction, throwing RuntimeException if it is inside transaction.
      Parameters:
      message - the exception message you would like to see if the thread is inside transaction