|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agical.rmock.core.match.constraint.clazz.ClassConstraintFactory
public class ClassConstraintFactory
| Constructor Summary | |
|---|---|
ClassConstraintFactory()
|
|
| Method Summary | |
|---|---|
Expression |
abstr()
This constraint passes if the checked class is abstract |
Expression |
assignableTo(java.lang.Class clazz)
Checks wether a class is an instance of (or subclass of) the class passed in the clazz parameter. |
Expression |
name(Expression expression)
Returns an expression that checks wether the classes name passes the expression passed in the parameter expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassConstraintFactory()
| Method Detail |
|---|
public Expression assignableTo(java.lang.Class clazz)
clazz - The class to to check if it is if the checked class is assignable to.
public Expression abstr()
ClassIsAbstractConstraintpublic Expression name(Expression expression)
expression - The expression to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||