public class SimpleIterationPhaseLogEntry extends java.lang.Object implements IterationPhaseLogEntry
| Constructor and Description |
|---|
SimpleIterationPhaseLogEntry(RefactoringRule rule,
java.lang.String name,
java.lang.String description)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Getter for the description of the entry
|
java.time.Instant |
getEndPhaseTimestamp()
Getter for the timestamp of the end of the phase
|
java.lang.String |
getName()
Getter for the name of the entry
|
java.time.Duration |
getPhaseDuration()
Getter for the elapsed time between the start and the end of the phase
|
RefactoringRule |
getRule()
Getter for the refactoring rule
|
java.time.Instant |
getStartPhaseTimestamp()
Getter for the timestamp of the start of the phase
|
java.time.Instant |
getTimeStamp()
Getter for the timestamp of the entry, which is the timestamp of the start of the phase
|
void |
start()
Marks the start of a phase
|
void |
stop()
Marks the end of a phase
|
public SimpleIterationPhaseLogEntry(RefactoringRule rule, java.lang.String name, java.lang.String description)
rule - The rule that was applied in the iterationname - The name of the log entrydescription - The description of the log entrypublic void start()
public void stop()
public RefactoringRule getRule()
getRule in interface IterationLogEntrypublic java.lang.String getName()
getName in interface IterationLogEntrypublic java.lang.String getDescription()
getDescription in interface IterationLogEntrypublic java.time.Instant getTimeStamp()
getTimeStamp in interface IterationLogEntrypublic java.time.Instant getStartPhaseTimestamp()
getStartPhaseTimestamp in interface IterationPhaseLogEntrypublic java.time.Instant getEndPhaseTimestamp()
getEndPhaseTimestamp in interface IterationPhaseLogEntrypublic java.time.Duration getPhaseDuration()
getPhaseDuration in interface IterationPhaseLogEntry