001/*
002 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
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 * Contributors:
010 *     Nuxeo - initial API and implementation
011 */
012
013package org.nuxeo.ecm.core.management.api;
014
015import java.util.Date;
016
017import org.nuxeo.ecm.core.management.probes.ProbeDescriptor;
018
019public interface ProbeInfo {
020
021    long getFailedCount();
022
023    long getLastDuration();
024
025    Date getLastFailedDate();
026
027    Date getLastRunnedDate();
028
029    Date getLastSucceedDate();
030
031    long getRunnedCount();
032
033    long getSucceedCount();
034
035    boolean isEnabled();
036
037    boolean isInError();
038
039    ProbeStatus getStatus();
040
041    String getShortcutName();
042
043    String getQualifiedName();
044
045    ProbeStatus getLastFailureStatus();
046
047    ProbeDescriptor getDescriptor();
048
049}