Class MessageBuilderInvocationHandler

java.lang.Object
io.fluentlenium.core.conditions.message.MessageBuilderInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class MessageBuilderInvocationHandler extends Object implements InvocationHandler
Invocation handler that builds message based on called performed.
  • Constructor Details

    • MessageBuilderInvocationHandler

      public MessageBuilderInvocationHandler (String context)
      Creates a new message builder invocation handler.
      Parameters:
      context - base context of the generated message
    • MessageBuilderInvocationHandler

      public MessageBuilderInvocationHandler (String context, Object instance)
      Creates a new message builder invocation handler.
      Parameters:
      context - base context of the generated message
      instance - underlying wrapped instance. If not null, calls will also be performed on this instance.
    • MessageBuilderInvocationHandler

      public MessageBuilderInvocationHandler (List<MessageBuilderCall> calls)
      Creates a new message builder invocation handler, with initial calls.
      Parameters:
      calls - initial calls.
  • Method Details