|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.5) E14255-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mutator
Mutator
allows for Gene
values to be altered dynamically.
Multiple mutators can be applied to a single gene, and the mutators are applied to the gene value in configured
document order. The original gene value is passed to the first mutator which returns a value that is
passed to the second mutator; the value returned from the last mutator is the ultimate evaluated gene value.
Method Summary | |
---|---|
String |
mutate(String mutatorName,
String currentValue,
Gene gene,
Map<String,String> args,
MutationContext context)
This method is called for each mutator associated with a gene. |
Method Detail |
---|
String mutate(String mutatorName, String currentValue, Gene gene, Map<String,String> args, MutationContext context) throws MutationException
Map
) and mutator implementations should document
expected arguments and value constraints; no formal argument checking is provided by Look and Feel.
This method is called for every request and the resulting value is not cached in any way. Mutator implementations should ensure that the mutation process is performant.
mutatorName
- The configured name of the mutatorcurrentValue
- The current gene value; may be the result of prior mutatorsgene
- The gene being mutatedargs
- An arbitrary map of configured argumentscontext
- The context for mutation
MutationException
- This exception is thrown to signify a problem with the mutation process.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.5) E14255-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |