|
Vordel SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vordel.circuit.Filter
public abstract class Filter
Implementation of a Filter, backed by an Entity.
Field Summary | |
---|---|
static int |
CAN_FAIL
Set if the Filter can exit with a false result |
static int |
CAN_SUCCEED
Set if the Filter can exit with a true result |
Circuit |
circuit
|
protected java.util.Set<java.lang.String> |
consumedProperties
|
java.lang.ClassLoader |
contextLoader
|
static java.util.Set<java.lang.String> |
EMPTY_SET
|
protected java.util.Set<java.lang.String> |
generatedProperties
|
protected java.lang.String |
name
|
protected java.util.Set<java.lang.String> |
requiredProperties
|
Constructor Summary | |
---|---|
Filter()
|
Method Summary | |
---|---|
protected void |
configure(FilterConfigureContext context,
Entity entity)
Called to initially configure a filter from the entity store. |
ESPK |
getCircuitPK()
|
abstract java.lang.Class<? extends FilterContainer> |
getConfigPanelClass()
Get the Class which must be instantiated to configure the Filter. |
java.util.Set<java.lang.String> |
getConsumedProperties()
|
Entity |
getEntity()
Get the underlying Entity which persists the configuration for this Filter |
FilterContainer |
getFailureNode()
Get the next node to visit, should this Filter fail upon invocation |
protected ESPK |
getFailureNodePK()
Get the ESPK of the Filter to visit if this Filter fails |
java.util.Set<java.lang.String> |
getGeneratedProperties()
|
abstract java.lang.Class<? extends MessageProcessor> |
getMessageProcessorClass()
Get the Class which must be instantiated to process this Filter to implement a MessageProcessor |
java.lang.String |
getName()
Get the name of the Filter |
int |
getPossibleOutcomes()
Get the bitmask for the possible outcomes to this Filter's evaluation. |
java.util.Set<java.lang.String> |
getRequiredProperties()
|
FilterContainer |
getSuccessNode()
Get the next node to visit, should this Filter succeed upon invocation |
protected ESPK |
getSuccessNodePK()
Get the ESPK of the Filter to visit if this Filter succeeds |
void |
reconfigure(FilterConfigureContext ctx,
Entity entity)
|
void |
setCircuitPK(ESPK circuitPK)
|
protected void |
setDefaultProperties()
There are no global default properties. |
void |
setEntity(Entity entity)
|
protected void |
setFailureNode(FilterContainer fc)
|
void |
setName(java.lang.String name)
|
void |
setShouldAbortProcessingOnLogError(boolean _abort)
|
protected void |
setSuccessNode(FilterContainer fc)
|
boolean |
shouldAbortProcessingOnLogError()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Set<java.lang.String> EMPTY_SET
public static final int CAN_SUCCEED
public static final int CAN_FAIL
public Circuit circuit
protected java.util.Set<java.lang.String> requiredProperties
protected java.util.Set<java.lang.String> generatedProperties
protected java.util.Set<java.lang.String> consumedProperties
protected java.lang.String name
public java.lang.ClassLoader contextLoader
Constructor Detail |
---|
public Filter()
Method Detail |
---|
public java.util.Set<java.lang.String> getGeneratedProperties()
public java.util.Set<java.lang.String> getConsumedProperties()
public java.util.Set<java.lang.String> getRequiredProperties()
public int getPossibleOutcomes()
public abstract java.lang.Class<? extends MessageProcessor> getMessageProcessorClass() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- If the class is unavailablepublic abstract java.lang.Class<? extends FilterContainer> getConfigPanelClass() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- If the class is unavailablepublic FilterContainer getSuccessNode()
public FilterContainer getFailureNode()
public Entity getEntity()
public java.lang.String getName()
public void setName(java.lang.String name)
protected ESPK getSuccessNodePK()
public boolean shouldAbortProcessingOnLogError()
public void setShouldAbortProcessingOnLogError(boolean _abort)
protected ESPK getFailureNodePK()
protected void setSuccessNode(FilterContainer fc)
protected void setFailureNode(FilterContainer fc)
protected void configure(FilterConfigureContext context, Entity entity) throws EntityStoreException
context
- entity
-
EntityStoreException
public void reconfigure(FilterConfigureContext ctx, Entity entity) throws EntityStoreException
EntityStoreException
public void setEntity(Entity entity)
public ESPK getCircuitPK()
public void setCircuitPK(ESPK circuitPK)
protected void setDefaultProperties()
|
Vordel SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |