public class

ExpressionConflictResolver

extends AbstractExpressionHelper
implements ConflictResolver<T>
java.lang.Object
   ↳ org.mule.modules.riak.mel.AbstractExpressionHelper
     ↳ org.mule.modules.riak.mel.ExpressionConflictResolver

Class Overview

A ConflictResolver that's implemented by a MEL expression. Note that the expression is called only if there are two or more siblings to resolve.

If no serializer is configured, the Collection<IRiakObject> to resolve is bound to the siblings variable. The expression must return a resolved IRiakObject. Otherwise, the deserialized Collection<Object> is bound to the siblings variable. The expression must return a resolved Object that will be serialized before storage.

Summary

[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Initialisable
[Expand]
Inherited Fields
From class org.mule.modules.riak.mel.AbstractExpressionHelper
Public Constructors
ExpressionConflictResolver()
Public Methods
IRiakObject resolve(Collection<IRiakObject> siblings)
[Expand]
Inherited Methods
From class org.mule.modules.riak.mel.AbstractExpressionHelper
From class java.lang.Object
From interface com.basho.riak.client.cap.ConflictResolver
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Initialisable

Public Constructors

public ExpressionConflictResolver ()

Public Methods

public IRiakObject resolve (Collection<IRiakObject> siblings)

Parameters
siblings