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 class
IcsReader.IcsEvents.Status
The 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.Status
getStatus()
Get the status of the icsTag
getTag()
Get the tag of the icsString
getUrl()
Get the url of the icsboolean
hasEvents()
true
if the ics has eventsvoid
setTag(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()
true
if the ics has events- Returns:
true
if 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
-
-