Class ProjectSettings


  • public class ProjectSettings
    extends java.lang.Object
    • Constructor Detail

      • ProjectSettings

        public ProjectSettings()
    • Method Detail

      • getWorkingDays

        public java.util.List<DayOfWeek> getWorkingDays()
        Get working days of a week for a project sheet.
        Returns:
        the list of working days
      • setWorkingDays

        public ProjectSettings setWorkingDays​(java.util.List<DayOfWeek> workingDays)
        Set the working days of a week for a project sheet.
        Parameters:
        workingDays - the list of DayOfWeeks to set
      • getNonWorkingDays

        public java.util.List<java.lang.String> getNonWorkingDays()
        Get non-working days of a week for a project sheet.
        Returns:
        the list of non-working days
      • setNonWorkingDays

        public ProjectSettings setNonWorkingDays​(java.util.List<java.lang.String> nonWorkingDays)
        Set the non-working days of a week for a project sheet.
        Parameters:
        nonWorkingDays - the list of days to set. Must be an array of strings that are valid ISO-8601 dates ('YYYY-MM-DD’)
      • getLengthOfDay

        public java.lang.Float getLengthOfDay()
        Get length of workday for a project sheet, in hours.
        Returns:
        length of day
      • setLengthOfDay

        public ProjectSettings setLengthOfDay​(java.lang.Float lengthOfDay)
        Set length of a workday for a project sheet in hours. Valid value must be above or equal to 1 hour, and less than or equal to 24 hours.