org.jboss.aspects.dbc.condition
Class ExecutableCondition
java.lang.Object
org.jboss.aspects.dbc.condition.Condition
org.jboss.aspects.dbc.condition.ExecutableCondition
- Direct Known Subclasses:
- ConstructorCondition, MethodCondition
public abstract class ExecutableCondition
- extends Condition
A pre or post consition
- Version:
- $Revision: 71280 $
- Author:
- Kabir Khan
ExecutableCondition
public ExecutableCondition(String condExpr,
Class<?> clazz,
boolean isStatic)
evaluateCondition
public void evaluateCondition(DesignByContractAspect aspect,
Invocation inv,
Object[] args,
Object ret)
toString
public String toString()
- Overrides:
toString
in class Condition
getValueForToken
protected Object getValueForToken(Invocation invocation,
Object[] args,
Object rtn,
String token)
isPredefinedToken
protected abstract boolean isPredefinedToken(String token)
getValueForPredefinedToken
protected abstract Object getValueForPredefinedToken(Invocation invocation,
Object rtn,
String token)
executableObject
protected abstract Object executableObject()
parameterTypes
protected abstract Class<?>[] parameterTypes()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.