public abstract class BasePrimary extends BaseComponent implements LogEnabled
Constructor and Description |
---|
BasePrimary() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Called by sub classes to configure this component.
|
java.lang.String |
getName()
Get the job name.
|
protected org.slf4j.Logger |
logger()
Allow sub classes access to the logger.
|
protected void |
logger(java.lang.String logger)
Rename the logger.
|
java.lang.String |
loggerName()
Provide the logger name.
|
protected void |
save()
Implementations override this to save their state on state
change.
|
void |
setName(java.lang.String name)
Set the job name.
|
java.lang.String |
toString()
Override toString.
|
addIconListener, addPropertyChangeListener, addStateListener, configure, destroy, fireDestroyedState, firePropertyChange, getArooaSession, iconForId, iconHelper, initialise, lastStateEvent, onConfigured, onDestroy, onInitialised, removeIconListener, removePropertyChangeListener, removeStateListener, save, setArooaContext, setArooaSession, stateHandler
protected org.slf4j.Logger logger()
logger
in class BaseComponent
protected void configure() throws ArooaConfigurationException
ArooaConfigurationException
protected void save() throws ComponentPersistException
BaseComponent
save
in class BaseComponent
ComponentPersistException
public void setName(java.lang.String name)
name
- The name of the job.public java.lang.String getName()
public java.lang.String loggerName()
LogEnabled
loggerName
in interface LogEnabled
protected void logger(java.lang.String logger)
logger
- The logger to set.public java.lang.String toString()
toString
in class java.lang.Object