plugin/src/java/org/pm4knime/util/defaultnode/DefaultMinerNodeModel.java
@Override
	protected PortObjectSpec[] configure(PortObjectSpec[] inSpecs) throws InvalidSettingsException {

		if (!inSpecs[0].getClass().equals(XLogPortObjectSpec.class))
			throw new InvalidSettingsException("Input is not a valid Event Log!");
		
		// why m_classifier is empty?? Because NodeDialog is not called without opening the configuration
		// to change it, we force it to configure the even log here
		if(m_classifier.getStringValue().isEmpty())
			throw new InvalidSettingsException("Classifier is not set");
		
		
		XLogPortObjectSpec logSpec = (XLogPortObjectSpec) inSpecs[0];
		
		return configureOutSpec(logSpec);
	}
// set the classifierList here to update every time for the new spec 
set the classifierList here to update every time for the new spec
set the classifierList here to update every time for the new spec
@Override
	protected PortObjectSpec[] configure(PortObjectSpec[] inSpecs) throws InvalidSettingsException {
		if (!inSpecs[0].getClass().equals(XLogPortObjectSpec.class))
			throw new InvalidSettingsException("Input is not a valid Event Log!");
		if(m_classifier.getStringValue().isEmpty())
			throw new InvalidSettingsException("Classifier is not set");
		XLogPortObjectSpec logSpec = (XLogPortObjectSpec) inSpecs[0];
		return configureOutSpec(logSpec);
	}
@ Override protected PortObjectSpec [ ] configure ( PortObjectSpec [ ] inSpecs ) throws InvalidSettingsException { if ( ! inSpecs [ 0 ] . getClass ( ) . equals ( XLogPortObjectSpec . class ) ) throw new InvalidSettingsException ( "Input is not a valid Event Log!" ) ; if ( m_classifier . getStringValue ( ) . isEmpty ( ) ) throw new InvalidSettingsException ( "Classifier is not set" ) ; XLogPortObjectSpec logSpec = ( XLogPortObjectSpec ) inSpecs [ 0 ] ; return configureOutSpec ( logSpec ) ; }
set the classifierList here to update every time for the new spec
set the classifierList here to update every time for the new spec
// why m_classifier is empty?? Because NodeDialog is not called without opening the configuration // to change it, we force it to configure the even log here