Class IcsReader.IcsEvents
- java.lang.Object
-
- org.ametys.plugins.calendar.icsreader.IcsReader.IcsEvents
-
- Enclosing class:
- IcsReader
public static class IcsReader.IcsEvents extends Object
Object wrapper for ics events
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIcsReader.IcsEvents.StatusThe status of the ics
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VEvent>getEvents()Get the list of events of the icsIcsReader.IcsEvents.StatusgetStatus()Get the status of the icsTaggetTag()Get the tag of the icsStringgetUrl()Get the url of the icsbooleanhasEvents()trueif the ics has eventsvoidsetTag(Tag tag)Set the tag of the ics
-
-
-
Constructor Detail
-
IcsEvents
public IcsEvents(String url, List<VEvent> events)
The constructor- Parameters:
url- the urlevents- the list of event of the ics
-
IcsEvents
public IcsEvents(String url, List<VEvent> events, IcsReader.IcsEvents.Status status)
The constructor- Parameters:
url- the urlevents- the list of event of the icsstatus- the status of the ics
-
-
Method Detail
-
hasEvents
public boolean hasEvents()
trueif the ics has events- Returns:
trueif the ics has events
-
getEvents
public List<VEvent> getEvents()
Get the list of events of the ics- Returns:
- the list of events
-
getStatus
public IcsReader.IcsEvents.Status getStatus()
Get the status of the ics- Returns:
- the status
-
-