public class SchedulingResult extends Object
Modifier and Type | Method and Description |
---|---|
static SchedulingResult |
failure(SchedulingStatus status,
String errorMessage) |
String |
getErrorMessage() |
String |
getMessage() |
SchedulingStatus |
getStatus() |
boolean |
isFailure() |
boolean |
isSuccess() |
static SchedulingResult |
success() |
static SchedulingResult |
success(String message) |
String |
toString() |
public static SchedulingResult failure(SchedulingStatus status, String errorMessage)
public static SchedulingResult success()
public static SchedulingResult success(String message)
public SchedulingStatus getStatus()
public String getMessage()
public String getErrorMessage()
public boolean isSuccess()
public boolean isFailure()
Copyright © 2023 The Apache Software Foundation. All rights reserved.