public class ConditionalSerialAnalyserControllerPersistence extends ConditionalControllerPersistence
ConditionalSerialAnalyserController
.
Adds handling of the corpus memeber to the ControllerPersistence
classModifier and Type | Field and Description |
---|---|
protected Object |
corpus |
protected Object |
features |
protected Object |
initParams |
protected static org.slf4j.Logger |
log |
protected String |
resourceName |
protected String |
resourceType |
strategiesList
prList
containingControllerName, initParamOverrides
Constructor and Description |
---|
ConditionalSerialAnalyserControllerPersistence() |
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates a new object from the data contained.
|
void |
extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the
original source object.
|
protected static boolean |
storeParameterValue(Object value,
Object defaultValue)
Returns true if we should store the parameter value as it is different
from the default value.
|
protected Object corpus
protected static final org.slf4j.Logger log
protected String resourceType
protected String resourceName
protected Object initParams
protected Object features
public ConditionalSerialAnalyserControllerPersistence()
public void extractDataFromSource(Object source) throws PersistenceException
extractDataFromSource
in interface Persistence
extractDataFromSource
in class ConditionalControllerPersistence
PersistenceException
public Object createObject() throws PersistenceException, ResourceInstantiationException
createObject
in interface Persistence
createObject
in class ConditionalControllerPersistence
PersistenceException
ResourceInstantiationException
protected static boolean storeParameterValue(Object value, Object defaultValue)
value
- the value we might storedefaultValue
- the default valueCopyright © 2024 GATE. All rights reserved.