Class ItemPropertyAsDateTime.Settings

  • All Implemented Interfaces:
    io.annot8.api.settings.Settings
    Enclosing class:
    ItemPropertyAsDateTime

    public static class ItemPropertyAsDateTime.Settings
    extends Object
    implements io.annot8.api.settings.Settings
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • validate

        public boolean validate()
        Specified by:
        validate in interface io.annot8.api.settings.Settings
      • getKey

        @Description("The property key to convert")
        public String getKey()
      • setKey

        public void setKey​(String key)
      • getDateTimeFormat

        @Description("The format to use when parsing")
        public String getDateTimeFormat()
      • setDateTimeFormat

        public void setDateTimeFormat​(String dateTimeFormat)
      • isErrorOnUnparseable

        @Description("If false, then dates that can\'t be parsed will be discarded. If true, then unparseable dates will cause an item error to be returned.")
        public boolean isErrorOnUnparseable()
      • setErrorOnUnparseable

        public void setErrorOnUnparseable​(boolean errorOnUnparseable)