| Package | Description |
|---|---|
| org.opencastproject.job.api | |
| org.opencastproject.security.api | |
| org.opencastproject.serviceregistry.api |
Service implementation classes
|
| org.opencastproject.util |
Utility classes for dealing with media packages, collections, URLs, files, and streams.
|
| Constructor and Description |
|---|
JaxbIncidentDigestList(IncidentService svc,
Locale locale,
List<Incident> incidents) |
JaxbIncidentDigestTree(IncidentService svc,
Locale locale,
IncidentTree tree) |
JaxbIncidentFullList(IncidentService svc,
Locale locale,
List<Incident> incidents) |
JaxbIncidentFullTree(IncidentService svc,
Locale locale,
IncidentTree tree) |
JaxbIncidentList(List<Incident> incidents) |
JaxbIncidentTree(IncidentTree tree) |
| Modifier and Type | Method and Description |
|---|---|
Organization |
OrganizationDirectoryService.getOrganization(String id)
Gets an organization by its identifier.
|
Organization |
OrganizationDirectoryService.getOrganization(URL url)
Gets an organization by request URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceRegistry.disableHost(String host)
Disables a Opencast server from service.
|
void |
ServiceRegistryInMemoryImpl.disableHost(String host)
Disables a Opencast server from service.
|
void |
ServiceRegistry.enableHost(String host)
Enable an inactive host as a provider of Opencast services.
|
void |
ServiceRegistryInMemoryImpl.enableHost(String host)
Enable an inactive host as a provider of Opencast services.
|
Incident |
IncidentService.getIncident(long id)
Gets a job incident by a given incident identifier.
|
IncidentTree |
IncidentService.getIncidentsOfJob(long jobId,
boolean cascade)
Get the hierarchy of incidents for a given job identifier.
|
Job |
ServiceRegistry.getJob(long id)
Gets a receipt by its ID, or null if not found
|
Job |
ServiceRegistryInMemoryImpl.getJob(long id)
Gets a receipt by its ID, or null if not found
|
IncidentL10n |
IncidentService.getLocalization(long id,
Locale locale)
Gets the localized texts for an incident by a given incident identifier and locale.
|
SystemLoad.NodeLoad |
ServiceRegistry.getMaxLoadOnNode(String host)
Returns the maximum load that can be handled by a given node.
|
void |
ServiceRegistry.removeJobs(List<Long> ids)
Deletes the given jobs from the service registry
|
void |
ServiceRegistryInMemoryImpl.removeJobs(List<Long> ids) |
void |
ServiceRegistry.sanitize(String serviceType,
String host)
Sets the given service to NORMAL state
|
void |
ServiceRegistry.setMaintenanceStatus(String host,
boolean maintenance)
Sets a registered host's maintenance status
|
void |
ServiceRegistryInMemoryImpl.setMaintenanceStatus(String host,
boolean maintenance)
Sets a registered host's maintenance status
|
Job |
ServiceRegistry.updateJob(Job job)
Update the job in the database
|
Job |
ServiceRegistryInMemoryImpl.updateJob(Job job)
Update the job in the database
|
void |
SystemLoad.updateNodeLoad(String host,
float modifier)
Updates the load factor for a node
|
| Modifier and Type | Method and Description |
|---|---|
static com.entwinemedia.fn.data.Opt<String> |
JobUtil.getPayload(ServiceRegistry reg,
Job job)
Update the job from the service registry and get its payload.
|
static <A> A |
IoSupport.locked(File file,
Function<File,A> f)
Run function
f having exclusive read/write access to the given file. |
Copyright © 2009–2021 Opencast Project. All rights reserved.