public class ShutdownTestWriter extends StoppingConditionImpl implements sun.misc.SignalHandler
ShutdownTestWriter class.
| Constructor and Description |
|---|
ShutdownTestWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
forceCurrentValue(long value)
Force a specific amount of used up budget.
|
long |
getCurrentValue()
How much of the budget have we used up
|
long |
getLimit()
Get upper limit of resources
Mainly used for toString()
|
void |
handle(sun.misc.Signal arg0) |
boolean |
isFinished()
isFinished
|
static boolean |
isInterrupted()
isInterrupted
|
void |
reset()
Reset everything
|
void |
setLimit(long limit)
Set new upper limit of resources
|
fitnessEvaluation, getType, getValueString, iteration, modification, searchFinished, searchStarted, toStringpublic void handle(sun.misc.Signal arg0)
handle in interface sun.misc.SignalHandlerpublic static boolean isInterrupted()
isInterrupted
public boolean isFinished()
isFinished
isFinished in interface StoppingConditionpublic void reset()
reset in interface StoppingConditionpublic void setLimit(long limit)
setLimit in interface StoppingConditionlimit - a long.public long getLimit()
getLimit in interface StoppingConditionpublic long getCurrentValue()
getCurrentValue in interface StoppingConditionpublic void forceCurrentValue(long value)
forceCurrentValue in interface StoppingConditionvalue - The new amount of used up budget for this StoppingConditionCopyright © 2010–2017 EvoSuite. All rights reserved.