public class AssignValidatorsCommand extends AbstractCommand
If the ComponentBean
has a ValidatorBean
assigned, the
CreateValidatorCommand
is invoked.
Constructor and Description |
---|
AssignValidatorsCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Executes the
CreateValidatorCommand using the
Globals.ADD_VALIDATOR_COMMAND_NAME command to create a
Validator . |
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic
public boolean execute(org.apache.commons.chain.Context context) throws Exception
Executes the CreateValidatorCommand
using the
Globals.ADD_VALIDATOR_COMMAND_NAME
command to create a
Validator
.
execute
in interface org.apache.commons.chain.Command
execute
in class AbstractCommand
context
- common chainstrue
if the chain is completeException
- propagated up to the top of the chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.