Class PlainServerFlavour

java.lang.Object
org.exoplatform.caldav.plugin.PlainServerFlavour
All Implemented Interfaces:
CalendarServerFlavour

public final class PlainServerFlavour extends Object implements CalendarServerFlavour
The flavour of a registration no contributed flavour recognises: a plain CalDAV server, which writes through CalDAV only and keeps no session of its own. The null object of CalendarServerFlavour.
  • Field Details

  • Method Details

    • id

      public String id()
      The flavour's stable identifier, the same as the front end's server preset for the product.
      Specified by:
      id in interface CalendarServerFlavour
      Returns:
      the identifier, never blank
    • recognises

      public boolean recognises(org.exoplatform.caldav.model.CaldavServer server)
      Recognises nothing: it is what is left when nobody else does.
      Specified by:
      recognises in interface CalendarServerFlavour
      Parameters:
      server - the registration
      Returns:
      false
    • writeChannels

      public Set<org.exoplatform.caldav.model.WriteChannel> writeChannels()
      No channel besides CalDAV.
      Specified by:
      writeChannels in interface CalendarServerFlavour
      Returns:
      an empty set