blob: e7973cc7027cfbdd5053bcdd187e4e9ad8da3bf3 [file] [log] [blame]
/**
* Copyright (c) 2015 Codetrails GmbH.
* 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.epp.logging.aeri.core.filters;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jdt.annotation.Nullable;
import com.google.common.base.Predicate;
public class NoErrorStatusFilter implements Predicate<IStatus> {
@Override
public boolean apply(@Nullable IStatus input) {
return input.matches(IStatus.ERROR);
}
}