public abstract class GSAbstractStoreEncoder extends PropertyXMLEncoder
| Modifier | Constructor and Description |
|---|---|
protected |
GSAbstractStoreEncoder(GeoServerRESTPublisher.StoreType type,
String storeName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureValidName(String name)
Check name validity.
|
protected void |
ensureValidType(String type)
Check type validity.
|
String |
getDescription() |
boolean |
getEnabled() |
String |
getName() |
GeoServerRESTPublisher.StoreType |
getStoreType() |
String |
getType() |
protected abstract String |
getValidType()
The type of the implementing store.
|
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setName(String name) |
void |
setType(String type) |
add, createElementWithAttribute, get, get, setadd, addContent, getRoot, isEmpty, remove, set, setRoot, setRoot, toStringprotected GSAbstractStoreEncoder(GeoServerRESTPublisher.StoreType type, String storeName)
public GeoServerRESTPublisher.StoreType getStoreType()
public void setType(String type)
public String getType()
public void setName(String name)
public String getName()
public void setDescription(String description)
public String getDescription()
public void setEnabled(boolean enabled)
public boolean getEnabled()
protected void ensureValidName(String name)
name - the nameIllegalArgumentException - if name is null or emptyprotected void ensureValidType(String type)
type - the type.IllegalArgumentException - if type is not protected abstract String getValidType()
Copyright © 2007–2016 PDOK. All rights reserved.