public class TerminationConfig extends AbstractConfig<TerminationConfig>
Constructor and Description |
---|
TerminationConfig() |
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance, toString
public Class<? extends Termination> getTerminationClass()
public void setTerminationClass(Class<? extends Termination> terminationClass)
public TerminationCompositionStyle getTerminationCompositionStyle()
public void setTerminationCompositionStyle(TerminationCompositionStyle terminationCompositionStyle)
public Long getMillisecondsSpentLimit()
public void setMillisecondsSpentLimit(Long millisecondsSpentLimit)
public Long getSecondsSpentLimit()
public void setSecondsSpentLimit(Long secondsSpentLimit)
public Long getMinutesSpentLimit()
public void setMinutesSpentLimit(Long minutesSpentLimit)
public Long getHoursSpentLimit()
public void setHoursSpentLimit(Long hoursSpentLimit)
public Long getDaysSpentLimit()
public void setDaysSpentLimit(Long daysSpentLimit)
public Long getUnimprovedMillisecondsSpentLimit()
public void setUnimprovedMillisecondsSpentLimit(Long unimprovedMillisecondsSpentLimit)
public Long getUnimprovedSecondsSpentLimit()
public void setUnimprovedSecondsSpentLimit(Long unimprovedSecondsSpentLimit)
public Long getUnimprovedMinutesSpentLimit()
public void setUnimprovedMinutesSpentLimit(Long unimprovedMinutesSpentLimit)
public Long getUnimprovedHoursSpentLimit()
public void setUnimprovedHoursSpentLimit(Long unimprovedHoursSpentLimit)
public Long getUnimprovedDaysSpentLimit()
public void setUnimprovedDaysSpentLimit(Long unimprovedDaysSpentLimit)
public String getBestScoreLimit()
public void setBestScoreLimit(String bestScoreLimit)
public Boolean getBestScoreFeasible()
public void setBestScoreFeasible(Boolean bestScoreFeasible)
public Integer getStepCountLimit()
public void setStepCountLimit(Integer stepCountLimit)
public Integer getUnimprovedStepCountLimit()
public void setUnimprovedStepCountLimit(Integer unimprovedStepCountLimit)
public Long getCalculateCountLimit()
public void setCalculateCountLimit(Long calculateCountLimit)
public List<TerminationConfig> getTerminationConfigList()
public void setTerminationConfigList(List<TerminationConfig> terminationConfigList)
public Termination buildTermination(HeuristicConfigPolicy configPolicy, Termination chainedTermination)
public Termination buildTermination(HeuristicConfigPolicy configPolicy)
configPolicy
- never nullpublic Long calculateTimeMillisSpentLimit()
public void shortenTimeMillisSpentLimit(long timeMillisSpentLimit)
public Long calculateUnimprovedTimeMillisSpentLimit()
public void inherit(TerminationConfig inheritedConfig)
AbstractConfig
inheritedConfig
unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour).
After the inheritance, if a property on this AbstractConfig
composition is replaced,
it should not affect the inherited composition instance.
inherit
in class AbstractConfig<TerminationConfig>
inheritedConfig
- never nullCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.