blob: 1c91821739680d99724af66fef362840a9f132a1 [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2008-2010 See4sys and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
* See4sys - Initial API and implementation
*
* </copyright>
*/
package org.eclipse.sphinx.platform.resources.syncing;
import org.eclipse.core.runtime.Assert;
import org.eclipse.sphinx.platform.resources.DefaultResourceChangeHandler;
public abstract class AbstractResourceSynchronizerDelegate<T extends IResourceSyncRequest> extends DefaultResourceChangeHandler implements
IResourceSynchronizerDelegate<T> {
protected T syncRequest;
@Override
public void setSyncRequest(T syncRequest) {
Assert.isNotNull(syncRequest);
this.syncRequest = syncRequest;
}
}