public class CommandUtils extends Object
Constructor and Description |
---|
CommandUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<Long,HostRoleCommand> |
convertToTaskIdCommandMap(Collection<HostRoleCommand> commands)
Converts a collection of commands to Map from command.taskId to command.
|
public static Map<Long,HostRoleCommand> convertToTaskIdCommandMap(Collection<HostRoleCommand> commands)
Copyright © 2022 Apache Software Foundation. All rights reserved.