public class ActionContext
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the context of an action within the stage of a pipeline to a job worker.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the action within the context of a job.
|
Constructor and Description |
---|
ActionContext() |
Modifier and Type | Method and Description |
---|---|
ActionContext |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the action within the context of a job.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the action within the context of a job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActionContext |
withName(java.lang.String name)
The name of the action within the context of a job.
|
public void setName(java.lang.String name)
The name of the action within the context of a job.
name
- The name of the action within the context of a job.public java.lang.String getName()
The name of the action within the context of a job.
public ActionContext withName(java.lang.String name)
The name of the action within the context of a job.
name
- The name of the action within the context of a job.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActionContext clone()
clone
in class java.lang.Object