T - the type of Petri net elements to be configuredpublic abstract class ConfigurableGraphElementFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement> extends ConfigurableParameterGraphElement implements ConfigurableFeature<T,ConfigurableGraphElementOption>
ConfigurableGraphElementOption to configure
graph elements.| Modifier and Type | Field and Description |
|---|---|
static ConfigurableGraphElementOption[] |
ALL |
| Constructor and Description |
|---|
ConfigurableGraphElementFeature(java.lang.String id,
T element,
ConfigurableGraphElementOption[] values,
ConfigurableGraphElementOption defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearElementVisualization()
Clear visual representation of
ConfigurableFeature.getConfiguredElement() back to normal |
static java.lang.String |
generateID(org.processmining.models.graphbased.directed.DirectedGraphElement el) |
T |
getConfiguredElement()
Graph element being configured
|
java.lang.String |
getId() |
java.util.List<ConfigurableParameter<ConfigurableGraphElementOption>> |
getInputParameters() |
java.util.List<ConfigurableParameter<ConfigurableGraphElementOption>> |
getInputParametersByName() |
static boolean |
isValidValue(ConfigurableGraphElementOption o,
ConfigurableGraphElementOption[] allowed) |
static boolean |
sameOptions(ConfigurableGraphElementOption[] o1,
ConfigurableGraphElementOption[] o2) |
void |
setInputParameter(java.lang.String key,
java.lang.Object value)
Set value of an input parameter.
|
void |
updateElementVisualization()
Change visual representation of
ConfigurableFeature.getConfiguredElement() |
void |
updateValue()
Update the value of this configurable feature.
|
isValidIntervalValuegetDiscreteDomain, getIntervalMax, getIntervalMin, getValue, isIntervalDomain, isValidValue, setDiscreteDomain, setId, setIntervalDomain, setValue, updateParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneFor, executeConfiguration, isStillExecutablepublic static final ConfigurableGraphElementOption[] ALL
public ConfigurableGraphElementFeature(java.lang.String id,
T element,
ConfigurableGraphElementOption[] values,
ConfigurableGraphElementOption defaultValue)
throws InvalidConfigurationException
InvalidConfigurationExceptionpublic java.lang.String getId()
getId in interface ConfigurableFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>getId in class ConfigurableParameter<ConfigurableGraphElementOption>public T getConfiguredElement()
ConfigurableFeaturegetConfiguredElement in interface ConfigurableFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>public java.util.List<ConfigurableParameter<ConfigurableGraphElementOption>> getInputParameters()
getInputParameters in interface ConfigurableFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>getInputParameters in interface ParameterizedFeature<ConfigurableParameter<ConfigurableGraphElementOption>>public java.util.List<ConfigurableParameter<ConfigurableGraphElementOption>> getInputParametersByName()
getInputParametersByName in interface ParameterizedFeature<ConfigurableParameter<ConfigurableGraphElementOption>>ConfigurableParameter.getId(), i.e., from two input
parameters with same id, only one will be includedpublic void updateValue()
ConfigurableFeatureupdateValue in interface ConfigurableFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>public void setInputParameter(java.lang.String key,
java.lang.Object value)
throws InvalidConfigurationException
ParameterizedFeaturesetInputParameter in interface ParameterizedFeature<ConfigurableParameter<ConfigurableGraphElementOption>>InvalidConfigurationExceptionpublic static boolean sameOptions(ConfigurableGraphElementOption[] o1, ConfigurableGraphElementOption[] o2)
o1 - o2 - public static boolean isValidValue(ConfigurableGraphElementOption o, ConfigurableGraphElementOption[] allowed)
o - allowed - public void updateElementVisualization()
ConfigurableFeatureConfigurableFeature.getConfiguredElement()updateElementVisualization in interface ConfigurableFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>public void clearElementVisualization()
ConfigurableFeatureConfigurableFeature.getConfiguredElement() back to normalclearElementVisualization in interface ConfigurableFeature<T extends org.processmining.models.graphbased.directed.DirectedGraphElement,ConfigurableGraphElementOption>public static java.lang.String generateID(org.processmining.models.graphbased.directed.DirectedGraphElement el)