public class DictionaryCondition extends ImageBean<DictionaryCondition>
Dictionary
is equal to an expected-value.Constructor and Description |
---|
DictionaryCondition() |
Modifier and Type | Method and Description |
---|---|
DictionaryProvider |
getDictionary()
The dictionary to provide a value to check.
|
String |
getKey()
The key in the dictionary whose value is checked.
|
String |
getValue()
The value the key should have in the dictionary, in order for the condition to be fulfilled.
|
boolean |
isConditionTrue() |
void |
setDictionary(DictionaryProvider dictionary)
The dictionary to provide a value to check.
|
void |
setKey(String key)
The key in the dictionary whose value is checked.
|
void |
setValue(String value)
The value the key should have in the dictionary, in order for the condition to be fulfilled.
|
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public boolean isConditionTrue() throws ProvisionFailedException
ProvisionFailedException
public DictionaryProvider getDictionary()
public void setDictionary(DictionaryProvider dictionary)
public String getKey()
public void setKey(String key)
public String getValue()
public void setValue(String value)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.