|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.accpac.JiBXConfigurationAbstractResource
public abstract class JiBXConfigurationAbstractResource
The JiBXConfigurationAbstractResource
abstract class provides an
abstract base class for the various classes that are part of the
configuration system.
ensureStillBuilding()
to confirm that the object is still in
building modeendBuilding()
to signal the end of buildingonEndBuilding()
to perform any end-of-building actions
addConfigurationError(String)
to add any errors to the
collection
Constructor Summary | |
---|---|
JiBXConfigurationAbstractResource()
|
Method Summary | |
---|---|
protected void |
addConfigurationError(java.lang.String error)
adds the given error to the collection of configuration errors |
protected void |
endBuilding()
change from building mode into querying mode. |
protected void |
ensureStillBuilding()
ensure that the objects is still in building mode, throwing an exception if not. |
java.util.Collection<java.lang.String> |
getConfigurationErrors()
gets a list of the configuration errors that occurred during building. |
protected abstract void |
onEndBuilding()
This will be called at the end of the building phase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiBXConfigurationAbstractResource()
Method Detail |
---|
public java.util.Collection<java.lang.String> getConfigurationErrors()
getConfigurationErrors
in interface JiBXConfigurationResource
protected abstract void onEndBuilding()
addConfigurationError(java.lang.String)
during
this call.
protected void addConfigurationError(java.lang.String error)
error
- the error to add. This will only be added if it is not null.protected void ensureStillBuilding() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if not in building modeprotected void endBuilding()
getConfigurationErrors()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |