1 package org.lsst.ccs.config;
2
3 /**
4 * An object which is warned when trying to copy a ParameterDescription
5 * to a new SubsystemDescription that does not have a proper <TT>ParameterBase</TT>
6 * to match.
7 * @author bamade
8 */
9 // Date: 25/04/12
10
11 public interface DescriptionMismatchListener {
12 /**
13 *
14 * @param oldDesc description trying to be copied
15 * @param newBase may be null otherwise a base that ddoes not fit
16 * @param diag diagnosis of the problem (String or exception)
17 */
18 public void mismatch(ParameterDescription oldDesc, ParameterBase newBase, Object diag) ;
19 }