com.vordel.circuit
Class VariablePropertiesFilter
java.lang.Object
com.vordel.circuit.Filter
com.vordel.circuit.VariablePropertiesFilter
- Direct Known Subclasses:
- CircuitActivationFilter, CircuitChainFilter, CircuitDelegateFilter, DefaultFilter, HTTPBodyParserFilter
public abstract class VariablePropertiesFilter
- extends Filter
A VariablePropertiesFilter has variable sets of properties which it requires,
generates and consumes. Each respective set is created lazily on request. A
hook to initialize the sets is provided and called from the constructor.
|
Method Summary |
void |
configure(com.vordel.precipitate.SolutionPack context,
Entity entity)
Called to initially configure a filter from the entity store. |
static java.util.HashSet<java.lang.String> |
createHashSet(java.lang.String[] props)
|
java.util.Collection<java.lang.String> |
getLoggingWildcards(Entity entity,
java.util.Set<java.lang.String> props)
|
java.util.Collection<java.lang.String> |
getRequiredPropertiesFromEntity(EntityStore es,
Entity entity,
com.vordel.common.crypto.PasswordCipher passwordCipher)
|
java.util.Collection<java.lang.String> |
getRequiredPropertiesFromReferences(EntityStore es,
Entity entity,
com.vordel.common.crypto.PasswordCipher passwordCipher)
|
java.util.Collection<java.lang.String> |
getWildcardAttributes(Entity entity,
java.lang.String name)
|
boolean |
ignoreField(java.lang.String name)
|
boolean |
ignoreType(java.lang.String name)
|
protected void |
selectorProps(java.util.Set<PropDef> props,
java.lang.String... selectors)
|
protected void |
syncProps(java.util.Set<PropDef> r,
java.util.Set<PropDef> g,
java.util.Set<PropDef> c)
Convenience method to synchronize properties in a filter when it is a
multiple delegator |
| Methods inherited from class com.vordel.circuit.Filter |
addPropDefs, getCircuitPK, getConfigPanelClass, getConsProps, getEntity, getFailureNode, getFailureNodePK, getGenProps, getMessageProcessorClass, getName, getPossibleOutcomes, getReqProps, getSuccessNode, getSuccessNodePK, reconfigure, setCircuitPK, setDefaultPropertyDefs, setEntity, setFailureNode, setName, setShouldAbortProcessingOnLogError, setSuccessNode, shouldAbortProcessingOnLogError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_ATTRIBUTE_FORMAT_REGEX
protected static java.lang.String USER_ATTRIBUTE_FORMAT_REGEX
userAttributePattern
public static java.util.regex.Pattern userAttributePattern
VariablePropertiesFilter
public VariablePropertiesFilter()
configure
public void configure(com.vordel.precipitate.SolutionPack context,
Entity entity)
throws EntityStoreException
- Description copied from class:
Filter
- Called to initially configure a filter from the entity store. Subclasses
should override, and invoke super.configure() before returning.
- Overrides:
configure in class Filter
- Throws:
EntityStoreException
selectorProps
protected final void selectorProps(java.util.Set<PropDef> props,
java.lang.String... selectors)
getRequiredPropertiesFromEntity
public java.util.Collection<java.lang.String> getRequiredPropertiesFromEntity(EntityStore es,
Entity entity,
com.vordel.common.crypto.PasswordCipher passwordCipher)
getRequiredPropertiesFromReferences
public java.util.Collection<java.lang.String> getRequiredPropertiesFromReferences(EntityStore es,
Entity entity,
com.vordel.common.crypto.PasswordCipher passwordCipher)
createHashSet
public static java.util.HashSet<java.lang.String> createHashSet(java.lang.String[] props)
getLoggingWildcards
public java.util.Collection<java.lang.String> getLoggingWildcards(Entity entity,
java.util.Set<java.lang.String> props)
getWildcardAttributes
public java.util.Collection<java.lang.String> getWildcardAttributes(Entity entity,
java.lang.String name)
ignoreField
public boolean ignoreField(java.lang.String name)
ignoreType
public boolean ignoreType(java.lang.String name)
syncProps
protected void syncProps(java.util.Set<PropDef> r,
java.util.Set<PropDef> g,
java.util.Set<PropDef> c)
- Convenience method to synchronize properties in a filter when it is a
multiple delegator
- Parameters:
r - g - c -
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel