com.lyncode.jtwig.functions.util
Class Requirements
java.lang.Object
com.lyncode.jtwig.functions.util.Requirements
public class Requirements
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Requirements
public Requirements(Object... arguments)
requires
public static Requirements requires(Object... arguments)
withNumberOfArguments
public Requirements withNumberOfArguments(org.hamcrest.Matcher<Integer> predicate)
throws FunctionException
- Throws:
FunctionException
withArgument
public Requirements withArgument(int number,
org.hamcrest.Matcher<Object> predicate)
throws FunctionException
- Throws:
FunctionException
isArray
public static org.hamcrest.Matcher<Object> isArray()
between
public static org.hamcrest.Matcher<Integer> between(int start,
int end)
Copyright © 2014. All Rights Reserved.