public class StageContext
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about a stage to a job worker.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the stage.
|
Constructor and Description |
---|
StageContext() |
Modifier and Type | Method and Description |
---|---|
StageContext |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the stage.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the stage.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StageContext |
withName(java.lang.String name)
The name of the stage.
|
public void setName(java.lang.String name)
The name of the stage.
name
- The name of the stage.public java.lang.String getName()
The name of the stage.
public StageContext withName(java.lang.String name)
The name of the stage.
name
- The name of the stage.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 StageContext clone()
clone
in class java.lang.Object