Class SchedulerItem
java.lang.Object
org.opencastproject.message.broker.api.scheduler.SchedulerItem
- All Implemented Interfaces:
Serializable
Serializable class that represents all of the possible messages sent through a SchedulerService queue.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSchedulerItem(String agentId) SchedulerItem(String state, Long lastHeardFrom) Constructor to build an update recording status eventSchedulerItem.SchedulerItem(Date start, Date end, SchedulerItem.Type type) SchedulerItem(Map<String, String> properties) Constructor to build an update properties for an eventSchedulerItem.SchedulerItem(Set<String> presenters) Constructor to build a delete eventSchedulerItem.SchedulerItem(org.opencastproject.metadata.dublincore.DublinCoreCatalog event) Constructor to build an update eventSchedulerItem.SchedulerItem(org.opencastproject.security.api.AccessControlList accessControlList) Constructor to build an update access control list eventSchedulerItem. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulerItemdelete()static SchedulerItemorg.opencastproject.security.api.AccessControlListgetAcl()getEnd()org.opencastproject.metadata.dublincore.DublinCoreCataloggetEvent()getStart()getType()static SchedulerItemupdateAcl(org.opencastproject.security.api.AccessControlList accessControlList) static SchedulerItemupdateAgent(String agentId) static SchedulerItemupdateCatalog(org.opencastproject.metadata.dublincore.DublinCoreCatalog event) static SchedulerItemstatic SchedulerItemupdatePresenters(Set<String> presenters) static SchedulerItemupdateProperties(Map<String, String> properties) static SchedulerItemupdateRecordingStatus(String state, Long lastHeardFrom) static SchedulerItemupdateStart(Date start)
-
Constructor Details
-
SchedulerItem
public SchedulerItem(org.opencastproject.metadata.dublincore.DublinCoreCatalog event) Constructor to build an update eventSchedulerItem.- Parameters:
event- The event details to update.
-
SchedulerItem
Constructor to build an update properties for an eventSchedulerItem.- Parameters:
properties- The properties to update.
-
SchedulerItem
Constructor to build a delete eventSchedulerItem. -
SchedulerItem
public SchedulerItem(org.opencastproject.security.api.AccessControlList accessControlList) Constructor to build an update access control list eventSchedulerItem.- Parameters:
accessControlList- The access control list
-
SchedulerItem
Constructor to build an update recording status eventSchedulerItem.- Parameters:
state- the recording statuslastHeardFrom- the last heard from time
-
SchedulerItem
-
SchedulerItem
-
SchedulerItem
-
-
Method Details
-
updateCatalog
public static SchedulerItem updateCatalog(org.opencastproject.metadata.dublincore.DublinCoreCatalog event) - Parameters:
event- The event details to update to.- Returns:
- Builds
SchedulerItemfor updating a scheduled event.
-
updateProperties
- Parameters:
properties- The new properties to update to.- Returns:
- Builds
SchedulerItemfor updating the properties of an event.
-
delete
- Returns:
- Builds
SchedulerItemfor deleting an event.
-
updateAcl
public static SchedulerItem updateAcl(org.opencastproject.security.api.AccessControlList accessControlList) - Parameters:
accessControlList- the access control list- Returns:
- Builds
SchedulerItemfor updating the access control list of an event.
-
updateRecordingStatus
- Parameters:
state- The recording statelastHeardFrom- The recording last heard from date- Returns:
- Builds
SchedulerItemfor updating a recording.
-
updateStart
- Parameters:
start- The new start time for the event.- Returns:
- Builds
SchedulerItemfor updating the start of an event.
-
updateEnd
- Parameters:
end- The new end time for the event.- Returns:
- Builds
SchedulerItemfor updating the end of an event.
-
updatePresenters
- Parameters:
presenters- The new set of presenters for the event.- Returns:
- Builds
SchedulerItemfor updating the presenters of an event.
-
updateAgent
- Parameters:
agentId- The new agent id for the event.- Returns:
- Builds
SchedulerItemfor updating the agent id of an event.
-
deleteRecordingState
- Returns:
- Builds
SchedulerItemfor deleting a recording.
-
getEvent
public org.opencastproject.metadata.dublincore.DublinCoreCatalog getEvent() -
getProperties
-
getAcl
public org.opencastproject.security.api.AccessControlList getAcl() -
getAgentId
-
getEnd
-
getPresenters
-
getRecordingState
-
getStart
-
getType
-