public final class StatusUtils extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static Label |
getLabel(String componentId,
String alt,
String title,
String clazz) |
static Optional<ReconStatus> |
getReconStatus(String anyTypeKey,
String connObjectKeyValue,
String resource) |
static List<Pair<String,ReconStatus>> |
getReconStatuses(String anyTypeKey,
String anyKey,
Collection<String> resources) |
static StatusBean |
getStatusBean(AnyTO anyTO,
String resource,
ConnObjectTO connObjectTO,
boolean notUser) |
static StatusBean |
getStatusBean(RealmTO realmTO,
String resource,
ConnObjectTO connObjectTO) |
static Label |
getStatusImage(String componentId,
ExecStatus status) |
static Label |
getStatusImage(String componentId,
Status status) |
static Panel |
getStatusImagePanel(String componentId,
ExecStatus status) |
static Panel |
getStatusImagePanel(String componentId,
Status status) |
static Boolean |
isEnabled(ConnObjectTO objectTO) |
static StatusPatch.Builder |
statusPatch(Collection<StatusBean> statuses) |
public static Optional<ReconStatus> getReconStatus(String anyTypeKey, String connObjectKeyValue, String resource)
public static List<Pair<String,ReconStatus>> getReconStatuses(String anyTypeKey, String anyKey, Collection<String> resources)
public static StatusBean getStatusBean(AnyTO anyTO, String resource, ConnObjectTO connObjectTO, boolean notUser)
public static StatusBean getStatusBean(RealmTO realmTO, String resource, ConnObjectTO connObjectTO)
public static Boolean isEnabled(ConnObjectTO objectTO)
public static StatusPatch.Builder statusPatch(Collection<StatusBean> statuses)
public static Panel getStatusImagePanel(String componentId, ExecStatus status)
public static Label getStatusImage(String componentId, ExecStatus status)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.