public class ConsequenceExceptionHandlerOption extends Object implements SingleValueKnowledgeBaseOption
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME
The property name for consequence exception handler configuration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ConsequenceExceptionHandlerOption |
get(Class<? extends ConsequenceExceptionHandler> handler)
This is a factory method for this ConsequenceExceptionHandler configuration.
|
Class<? extends ConsequenceExceptionHandler> |
getHandler()
Returns the consequence exception handler instance
|
String |
getPropertyName()
Returns the property name for this option
|
int |
hashCode() |
public static final String PROPERTY_NAME
public static ConsequenceExceptionHandlerOption get(Class<? extends ConsequenceExceptionHandler> handler)
handler - the actual consequence exception handler class to be usedpublic String getPropertyName()
getPropertyName in interface Optionpublic Class<? extends ConsequenceExceptionHandler> getHandler()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.