public abstract class AbstractConfig extends Object implements Serializable
| Constructor and Description |
|---|
AbstractConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
Map<String,String> |
getMetaData()
Should be called after Config was fully initialized.
|
String |
getPrefix() |
boolean |
isValid()
FIXME check @Parameter(required=true) and any conditions that need to match.
|
void |
refresh()
TODO: Currently, only support overriding of properties explicitly defined in Config class, doesn't support
overriding of customized parameters stored in 'parameters'.
|
void |
setId(String id) |
void |
setPrefix(String prefix) |
String |
toString() |
void |
updateIdIfAbsent(String value) |
@Parameter(excluded=true) public String getId()
public void setId(String id)
public void updateIdIfAbsent(String value)
public Map<String,String> getMetaData()
@Parameter(excluded=true) public String getPrefix()
public void setPrefix(String prefix)
public void refresh()
@Parameter(excluded=true) public boolean isValid()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.