com.jayway.restassured.specification
Class Argument

java.lang.Object
  extended by com.jayway.restassured.specification.Argument

public class Argument
extends Object

An argument that can be used to build up a body path expression.


Constructor Summary
Argument(Object argument)
          The argument, can be null.
 
Method Summary
static Argument arg(Object arg)
           
 boolean equals(Object o)
           
 Object getArgument()
           
 int hashCode()
           
static Argument withArg(Object arg)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Argument

public Argument(Object argument)
The argument, can be null.

Parameters:
argument - The argument.
Method Detail

getArgument

public Object getArgument()

withArg

public static Argument withArg(Object arg)

arg

public static Argument arg(Object arg)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2010-2011. All Rights Reserved.