public class InstructionRenameLabel extends Instruction
Instruction.Type
COST_UNIT, COST_ZERO
Constructor and Description |
---|
InstructionRenameLabel(java.lang.String newLabel)
Creates a new instance of a rename label instruction.
|
Modifier and Type | Method and Description |
---|---|
EditRenameLabel |
generateEditOperation()
Translates the given repairng instruction into the edit operation.
|
int |
getInstructionCost()
Returns the cost of the particular repairing instruction.
|
Instruction.Type |
getInstructionType()
Returns the type of the repairing instruction.
|
java.lang.String |
getNewLabel()
Returns the associated new label.
|
java.lang.String |
getTitleString()
Returns the readable title of the given repairing instruction.
|
public InstructionRenameLabel(java.lang.String newLabel)
newLabel
- New label value.public java.lang.String getNewLabel()
public Instruction.Type getInstructionType()
Instruction
getInstructionType
in class Instruction
public int getInstructionCost()
Instruction
getInstructionCost
in class Instruction
public java.lang.String getTitleString()
Instruction
getTitleString
in class Instruction
public EditRenameLabel generateEditOperation()
Instruction
generateEditOperation
in class Instruction