/**
 * Copyright (c) 2011-2015 Bosch Software Innovations GmbH, Germany. All rights reserved.
 */
package org.eclipse.hawkbit.rest.resource;

/**
 * 
 * @author Dennis Melzer
 *
 * @param <T>
 */
public interface SuccessCondition<T> {

    /**
     * 
     * @param result
     * @return
     */
    boolean success(final T result);

}

/**
 * Copyright (c) 2015 Bosch Software Innovations GmbH and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipse.hawkbit.rest.resource;

/**
 * 
 * @author Dennis Melzer
 *
 * @param <T>
 */
public interface SuccessCondition<T> {

    /**
     * 
     * @param result
     * @return
     */
    boolean success(final T result);

}

fix license header