org.sonar.api.utils.internal
Class WorkDurationFactory
java.lang.Object
org.sonar.api.utils.internal.WorkDurationFactory
- All Implemented Interfaces:
- BatchComponent, ServerComponent
public final class WorkDurationFactory
- extends Object
- implements BatchComponent, ServerComponent
Please do not use this class, it will be refactored in 4.3
- Since:
- 4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkDurationFactory
public WorkDurationFactory(Settings settings)
createFromWorkingValue
public WorkDuration createFromWorkingValue(int value,
WorkDuration.UNIT unit)
createFromWorkingLong
public WorkDuration createFromWorkingLong(long duration)
Copyright © 2009-2014 SonarSource. All Rights Reserved.