public class ConfigurationValidator extends Object
| Constructor and Description |
|---|
ConfigurationValidator(com.cyc.session.CycSessionConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
com.cyc.session.CycSessionConfiguration |
getConfiguration() |
boolean |
isConfigurationFileNameValid()
Note that this does not mean that this field is populated; merely
that it is not populated incorrectly.
|
boolean |
isConfigurationLoaderNameValid()
Note that this does not mean that this field is populated; merely
that it is not populated incorrectly.
|
static boolean |
isConfigurationLoaderNameValid(String configLoaderName) |
boolean |
isCycAddressValid()
Note that this does not mean that this field is populated; merely
that it is not populated incorrectly.
|
boolean |
isSufficient()
Is a particular CycSessionConfiguration sufficiently complete that a
valid CycSession could be created from it?
|
protected boolean |
isUnpopulated(Object obj) |
boolean |
isValid()
Is a particular CycSessionConfiguration valid? I.e., is it not null, and
does it have no fields with invalid values? Note that this function does not check
whether configuration is complete; for that, see
isSufficient(). |
void |
print() |
void |
print(PrintStream out) |
public ConfigurationValidator(com.cyc.session.CycSessionConfiguration config)
public com.cyc.session.CycSessionConfiguration getConfiguration()
public boolean isValid()
isSufficient().public boolean isSufficient()
public boolean isCycAddressValid()
public boolean isConfigurationLoaderNameValid()
public boolean isConfigurationFileNameValid()
public void print(PrintStream out)
public void print()
protected boolean isUnpopulated(Object obj)
public static boolean isConfigurationLoaderNameValid(String configLoaderName)
Copyright © 2013–2018 Cycorp, Inc.. All rights reserved.