use of com.hubspot.singularity.ExtendedTaskState in project Singularity by HubSpot.
the class MesosUtils method fromTaskState.
public static ExtendedTaskState fromTaskState(TaskState taskState) {
ExtendedTaskState extendedTaskState = map.get(taskState);
Preconditions.checkArgument(extendedTaskState != null, "No ExtendedTaskState for TaskState %s", taskState);
return extendedTaskState;
}
Aggregations