public final class AggregateConf extends Object
| Constructor and Description |
|---|
AggregateConf() |
AggregateConf(AggregateConf instanceDefinition)
Take a snapshot of the configuration
|
AggregateConf(ConfTree resources,
ConfTree appConf,
ConfTree internal) |
AggregateConf(String name) |
| Modifier and Type | Method and Description |
|---|---|
ConfTree |
getAppConf() |
ConfTreeOperations |
getAppConfOperations() |
ConfTree |
getInternal() |
ConfTreeOperations |
getInternalOperations() |
String |
getName() |
String |
getPassphrase() |
ConfTreeOperations |
getResourceOperations() |
ConfTree |
getResources() |
boolean |
isComplete()
predicate to query if all sections have data structures
|
boolean |
isVersioned()
Is this app package versioned?
|
void |
resolve() |
void |
setAppConf(ConfTree appConf) |
void |
setInternal(ConfTree internal) |
void |
setName(String name) |
void |
setResources(ConfTree resources) |
String |
toString()
string operation includes all the inner conftrees
|
void |
validate() |
public AggregateConf()
public AggregateConf(String name)
public AggregateConf(AggregateConf instanceDefinition) throws IOException
instanceDefinition - sourceIOException - marshalling/copying problemspublic void setResources(ConfTree resources)
public void setAppConf(ConfTree appConf)
public ConfTree getInternal()
public void setInternal(ConfTree internal)
public ConfTree getResources()
public ConfTree getAppConf()
public String getName()
public void setName(String name)
public ConfTreeOperations getResourceOperations()
public ConfTreeOperations getAppConfOperations()
public ConfTreeOperations getInternalOperations()
public boolean isComplete()
public void validate()
throws BadConfigException
BadConfigExceptionpublic void resolve()
throws BadConfigException
BadConfigExceptionpublic String getPassphrase()
public boolean isVersioned()
SliderKeys.APP_VERSION was set in the app config
provided during creation of this appCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.