public class PublishedExportsSet extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,PublishedExports> |
exports |
| Constructor and Description |
|---|
PublishedExportsSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String name) |
PublishedExports |
get(String name) |
Set<String> |
keys() |
void |
put(String name,
PublishedExports export)
Put a name -it will be converted to lower case before insertion.
|
PublishedExportsSet |
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,PublishedExports> exports
public void put(String name, PublishedExports export)
name - name of entryexport - published exportIllegalArgumentException - if not a valid namepublic static void validateName(String name)
RestPaths.PUBLISHED_CONFIGURATION_REGEXPname - name to validateIllegalArgumentException - if not a valid namepublic PublishedExports get(String name)
public boolean contains(String name)
public int size()
public PublishedExportsSet shallowCopy()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.