[New] Added ParameterBagContainer.getParameterBag(String, boolean)
This commit is contained in:
parent
959977a32b
commit
f2b0666ece
|
@ -77,6 +77,18 @@ public interface ParameterBagContainer extends StrolchElement {
|
||||||
*/
|
*/
|
||||||
public ParameterBag getParameterBag(String key);
|
public ParameterBag getParameterBag(String key);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the {@link ParameterBag} with the given key, or null if it does not exist
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* the key of the {@link ParameterBag} to return
|
||||||
|
* @param assertExists
|
||||||
|
* if set to true, and the parameter bag does not exist, a {@link StrolchModelException} is thrown
|
||||||
|
*
|
||||||
|
* @return the {@link ParameterBag} with the given key, or null if it does not exist
|
||||||
|
*/
|
||||||
|
public ParameterBag getParameterBag(String key, boolean assertExists);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the given {@link ParameterBag} to this {@link GroupedParameterizedElement}
|
* Adds the given {@link ParameterBag} to this {@link GroupedParameterizedElement}
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue