|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration.PropertiesAdaptor
public static class TimeTrackingConfiguration.PropertiesAdaptor
Implementation that is registered with PICO. Looks for configuration information stored in ApplicationProperties.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration |
---|
TimeTrackingConfiguration.Mode, TimeTrackingConfiguration.PropertiesAdaptor |
Field Summary | |
---|---|
ApplicationProperties |
properties
|
Constructor Summary | |
---|---|
TimeTrackingConfiguration.PropertiesAdaptor(ApplicationProperties properties)
|
Method Summary | |
---|---|
boolean |
copyCommentToWorkDescriptionOnTransition()
Should the comment entered on a transition screen be copied to the work description when logging work? |
boolean |
enabled()
Is time tracking enabled? |
BigDecimal |
getDaysPerWeek()
Get the currently configured number of days in a week. |
com.atlassian.core.util.DateUtils.Duration |
getDefaultUnit()
Get the currently configured default duration to use when parsing duration string for time tracking. |
BigDecimal |
getHoursPerDay()
Get the currently configured number of hours in a day. |
TimeTrackingConfiguration.Mode |
getMode()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final ApplicationProperties properties
Constructor Detail |
---|
public TimeTrackingConfiguration.PropertiesAdaptor(ApplicationProperties properties)
Method Detail |
---|
public boolean enabled()
TimeTrackingConfiguration
enabled
in interface TimeTrackingConfiguration
public TimeTrackingConfiguration.Mode getMode()
getMode
in interface TimeTrackingConfiguration
public com.atlassian.core.util.DateUtils.Duration getDefaultUnit()
TimeTrackingConfiguration
getDefaultUnit
in interface TimeTrackingConfiguration
public BigDecimal getHoursPerDay()
TimeTrackingConfiguration
getHoursPerDay
in interface TimeTrackingConfiguration
public BigDecimal getDaysPerWeek()
TimeTrackingConfiguration
getDaysPerWeek
in interface TimeTrackingConfiguration
public boolean copyCommentToWorkDescriptionOnTransition()
TimeTrackingConfiguration
copyCommentToWorkDescriptionOnTransition
in interface TimeTrackingConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |