public class PublishedConfigSet extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,PublishedConfiguration> |
configurations |
| Constructor and Description |
|---|
PublishedConfigSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String name) |
PublishedConfiguration |
get(String name) |
Set<String> |
keys() |
void |
put(String name,
PublishedConfiguration conf)
Put a name -it will be converted to lower case before insertion.
|
PublishedConfigSet |
shallowCopy() |
int |
size() |
static void |
validateName(String name)
Validate the name -restricting it to the set defined in
RestPaths.PUBLISHED_CONFIGURATION_REGEXP |
public Map<String,PublishedConfiguration> configurations
public void put(String name, PublishedConfiguration conf)
name - name of entryconf - configurationIllegalArgumentException - if not a valid namepublic static void validateName(String name)
RestPaths.PUBLISHED_CONFIGURATION_REGEXPname - name to validateIllegalArgumentException - if not a valid namepublic PublishedConfiguration get(String name)
public boolean contains(String name)
public int size()
public PublishedConfigSet shallowCopy()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.