public final class ImmutableExclusiveParametersModel extends Object implements ExclusiveParametersModel
ExclusiveParametersModel
Constructor and Description |
---|
ImmutableExclusiveParametersModel(Set<String> exclusiveParameterNames,
boolean isOneRequired)
Creates anew instance
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getExclusiveParameterNames() |
boolean |
isOneRequired()
Indicates if besides of being exclusive, the runtime should enforce that on of
the parameters MUST be provided
|
public Set<String> getExclusiveParameterNames()
getExclusiveParameterNames
in interface ExclusiveParametersModel
public boolean isOneRequired()
isOneRequired
in interface ExclusiveParametersModel
Copyright © 2018. All rights reserved.