public class ResolverSetResult extends Object
ResolverSet. This class maps a set of ParameterModel
to a set of result Objects.
Instances of this class can only be created through a ResolverSetResult.Builder obtained via newBuilder()
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolverSetResult.Builder
A builder for creating instances of
ResolverSetResult. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap() |
boolean |
equals(Object obj)
Defines equivalence by comparing the values in both objects.
|
Object |
get(String parameterName)
Returns the value associated with the
ParameterModel of the given parameterName |
int |
hashCode() |
static ResolverSetResult.Builder |
newBuilder()
Creates a new
ResolverSetResult.Builder instance. |
public static ResolverSetResult.Builder newBuilder()
ResolverSetResult.Builder instance. You should use a new builder per each instance you want to createResolverSetResult.Builderpublic Object get(String parameterName)
ParameterModel of the given parameterNameparameterName - the name of the ParameterModel which value you seekparameterName or null if no such association existspublic boolean equals(Object obj)
ParameterModel. Values will be tested for equality using their own
implementation of Object.equals(Object). For the case of a null value, equality requires the other one to be
null as well.
This implementation fails fast. Evaluation is finished at the first non equal value, returning false
Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.