Interface TimeTrackingConfiguration

All Known Implementing Classes:
TimeTrackingConfiguration.PropertiesAdaptor

public interface TimeTrackingConfiguration
Since:
4.0
  • Method Details

    • enabled

      boolean enabled()
      Is time tracking enabled?
      Returns:
      true if time tracking is enabled
    • getMode

      Returns:
      the current mode of operation
      Since:
      v4.2
    • getDefaultUnit

      com.atlassian.core.util.DateUtils.Duration getDefaultUnit()
      Get the currently configured default duration to use when parsing duration string for time tracking. (i.e. does "3" mean three minutes or three hours or three days)
      Returns:
      default duration
    • getTimeFormat

      Get the configured format in which the time will be printed.
    • getHoursPerDay

      BigDecimal getHoursPerDay()
      Get the currently configured number of hours in a day. Because this can be a non-integral number we return a BigDecimal.
      Returns:
      the number of hours in a working day
    • getDaysPerWeek

      BigDecimal getDaysPerWeek()
      Get the currently configured number of days in a week. Because this can be a non-integral number we return a BigDecimal
      Returns:
      the number of days in a working week
    • copyCommentToWorkDescriptionOnTransition

      boolean copyCommentToWorkDescriptionOnTransition()
      Should the comment entered on a transition screen be copied to the work description when logging work?
      Returns:
      true or false
      Since:
      v4.2