001/*- 002 * Copyright 2015, 2016 Diamond Light Source Ltd. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 */ 009 010package org.eclipse.january.dataset; 011 012/** 013 * Interface for a dataset checker to detect change 014 */ 015public interface IDatasetChangeChecker { 016 017 /** 018 * Set dataset to be checked for signs of change. Do any state initialization in here. 019 * @param dataset input 020 */ 021 public void setDataset(ILazyDataset dataset); 022 023 /** 024 * Check for any change. Also update state information. 025 * @return true if possible change may have occurred 026 */ 027 public boolean check(); 028}