org.sonar.api.utils.internal
Class WorkDurationFactory

java.lang.Object
  extended by 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

Constructor Summary
WorkDurationFactory(Settings settings)
           
 
Method Summary
 WorkDuration createFromWorkingLong(long duration)
           
 WorkDuration createFromWorkingValue(int value, WorkDuration.UNIT unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkDurationFactory

public WorkDurationFactory(Settings settings)
Method Detail

createFromWorkingValue

public WorkDuration createFromWorkingValue(int value,
                                           WorkDuration.UNIT unit)

createFromWorkingLong

public WorkDuration createFromWorkingLong(long duration)


Copyright © 2009-2014 SonarSource. All Rights Reserved.