public class ProbeStatus extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_INFO_FIELD |
static String |
ERROR_FIELD |
Modifier and Type | Method and Description |
---|---|
String |
getAsString() |
String |
getAsXML() |
boolean |
isFailure() |
boolean |
isNeverExecuted() |
boolean |
isSuccess() |
static ProbeStatus |
newBlankProbStatus() |
static ProbeStatus |
newError(Throwable t) |
static ProbeStatus |
newFailure(Map<String,String> infos) |
static ProbeStatus |
newFailure(String info) |
static ProbeStatus |
newSuccess(Map<String,String> infos) |
static ProbeStatus |
newSuccess(String info) |
String |
toString() |
public static final String DEFAULT_INFO_FIELD
public static final String ERROR_FIELD
public static ProbeStatus newBlankProbStatus()
public static ProbeStatus newFailure(String info)
public static ProbeStatus newFailure(Map<String,String> infos)
public static ProbeStatus newError(Throwable t)
public static ProbeStatus newSuccess(String info)
public static ProbeStatus newSuccess(Map<String,String> infos)
public boolean isSuccess()
public boolean isFailure()
public boolean isNeverExecuted()
public String getAsString()
public String getAsXML()
Copyright © 2015 Nuxeo SA. All rights reserved.