Package org.exoplatform.caldav.plugin
Class PlainServerFlavour
java.lang.Object
org.exoplatform.caldav.plugin.PlainServerFlavour
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe identifier of plain CalDAV.static final PlainServerFlavourThe single instance. -
Method Summary
Modifier and TypeMethodDescriptionid()The flavour's stable identifier, the same as the front end's server preset for the product.booleanrecognises(org.exoplatform.caldav.model.CaldavServer server) Recognises nothing: it is what is left when nobody else does.Set<org.exoplatform.caldav.model.WriteChannel> No channel besides CalDAV.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.caldav.plugin.CalendarServerFlavour
forgetAllSessions, forgetSession
-
Field Details
-
FLAVOUR_ID
The identifier of plain CalDAV.- See Also:
-
INSTANCE
The single instance.
-
-
Method Details
-
id
The flavour's stable identifier, the same as the front end's server preset for the product.- Specified by:
idin interfaceCalendarServerFlavour- 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:
recognisesin interfaceCalendarServerFlavour- Parameters:
server- the registration- Returns:
- false
-
writeChannels
No channel besides CalDAV.- Specified by:
writeChannelsin interfaceCalendarServerFlavour- Returns:
- an empty set
-