public abstract class FilterdAbstractConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.deckfour.xes.classification.XEventClassifier |
classifier |
protected FilterConfigPanelController |
configPanel |
protected Filter |
filterType |
protected boolean |
isAttribute |
protected boolean |
isValid |
protected org.deckfour.xes.model.XLog |
log |
protected java.util.List<Parameter> |
parameters |
protected java.util.List<org.deckfour.xes.extension.XExtension> |
standardExtensions |
Constructor and Description |
---|
FilterdAbstractConfig(org.deckfour.xes.model.XLog log,
Filter filterType) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canPopulate(FilterConfigPanelController component)
Checks whether all components from the configuration panel have a mapping
to all parameters of the concrete configuration.
|
void |
checkEmptyLog(org.deckfour.xes.model.XLog candidateLog) |
abstract boolean |
checkValidity(org.deckfour.xes.model.XLog candidateLog)
Checks whether the imported log complies with the filter configuration(s)
|
org.deckfour.xes.model.XLog |
filter()
Invokes the method of the concrete
|
org.deckfour.xes.classification.XEventClassifier |
getClassifier() |
abstract AbstractFilterConfigPanelController |
getConfigPanel()
Returns the configuration panel which is used by the
and .
|
Filter |
getFilterType() |
org.deckfour.xes.model.XLog |
getLog() |
Parameter |
getParameter(java.lang.String whichParameter)
Get the parameter object according to its name.
|
java.util.List<Parameter> |
getParameters() |
boolean |
isValid() |
void |
parameterListeners()
Method for adding all the listeners to the configuration.
|
FilterdAbstractConfig |
populate(AbstractFilterConfigPanelController abstractComponent)
Populates the parameters with information from the configuration panel.
|
void |
setClassifier(org.deckfour.xes.classification.XEventClassifier classifier) |
void |
setFilterType(Filter filterType) |
void |
setLog(org.deckfour.xes.model.XLog candidateLog)
Setter for the attribute.
|
void |
setParameters(java.util.List<Parameter> parameters) |
protected Filter filterType
protected org.deckfour.xes.model.XLog log
protected java.util.List<Parameter> parameters
protected boolean isValid
protected org.deckfour.xes.classification.XEventClassifier classifier
protected java.util.List<org.deckfour.xes.extension.XExtension> standardExtensions
protected boolean isAttribute
protected FilterConfigPanelController configPanel
public FilterdAbstractConfig(org.deckfour.xes.model.XLog log, Filter filterType) throws EmptyLogException
EmptyLogException
public org.deckfour.xes.classification.XEventClassifier getClassifier()
public void setClassifier(org.deckfour.xes.classification.XEventClassifier classifier)
public Filter getFilterType()
public void setFilterType(Filter filterType)
public org.deckfour.xes.model.XLog getLog()
public void checkEmptyLog(org.deckfour.xes.model.XLog candidateLog) throws EmptyLogException
EmptyLogException
public void setLog(org.deckfour.xes.model.XLog candidateLog)
log
- the log to be setInputMismatchException
public java.util.List<Parameter> getParameters()
public void setParameters(java.util.List<Parameter> parameters)
public boolean isValid()
public Parameter getParameter(java.lang.String whichParameter)
whichParameter
- the name of the parameter whose type is to be returnedpublic abstract boolean checkValidity(org.deckfour.xes.model.XLog candidateLog)
log
- the imported log in the cellpublic FilterdAbstractConfig populate(AbstractFilterConfigPanelController abstractComponent)
public abstract boolean canPopulate(FilterConfigPanelController component)
public abstract AbstractFilterConfigPanelController getConfigPanel()
public org.deckfour.xes.model.XLog filter()
context
- the PluginContextpublic void parameterListeners()