Class Args

java.lang.Object
org.springframework.retry.support.Args

public class Args extends Object
A root object containing the method arguments to use in expression evaluation. IMPORTANT; the arguments are not available (will contain nulls) until after the first call to the retryable method; this is generally only an issue for the maxAttempts, meaning the arguments cannot be used to indicate maxAttempts = 0.
Author:
Gary Russell
  • Field Details

    • NO_ARGS

      public static final Args NO_ARGS
      An empty Args with 100 null arguments.
  • Constructor Details

    • Args

      public Args(Object[] args)
  • Method Details

    • getArgs

      public Object[] getArgs()