public class TaskNode extends Object
Constructor and Description |
---|
TaskNode(String hostId,
String taskName,
String service) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHostId()
Get the id of the
Node associated with this task node. |
String |
getService()
Get the name of the service the task is for or empty if the task is a task on the machine on not on a service
on the machine.
|
String |
getTaskName()
Get the name of the task to execute.
|
int |
hashCode() |
String |
toString() |
public String getHostId()
Node
associated with this task node. It is called
host id to avoid confusion between a TaskNode, which is a node in the DAG but which represents a task, and a node
in a cluster, which is a machine with some hardware, image, and services on it.Node
this task will be executed on.public String getTaskName()
public String getService()
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.