| Package | Description |
|---|---|
| org.opencastproject.util.data | |
| org.opencastproject.util.data.functions | |
| org.opencastproject.util.osgi |
| Modifier and Type | Class and Description |
|---|---|
static class |
Effect0.X
Version of
Effect0 that allows for throwing a checked exception. |
| Modifier and Type | Method and Description |
|---|---|
Effect0 |
Function0.toEffect()
Turn this function into an effect by discarding its result.
|
| Modifier and Type | Field and Description |
|---|---|
static Effect0 |
Functions.noop
Noop effect.
|
| Modifier and Type | Field and Description |
|---|---|
static Effect<Effect0> |
Functions.run
Create an effect that runs its argument.
|
| Modifier and Type | Method and Description |
|---|---|
static Effect0 |
Functions.all(Effect0... es)
Create an effect that runs all given effects in order.
|
static <A> Effect0 |
Functions.toEffect(Function0<A> f)
Turn a function of arity 0 into an effect by discarding its result.
|
| Modifier and Type | Method and Description |
|---|---|
static Effect0 |
Functions.all(Effect0... es)
Create an effect that runs all given effects in order.
|
| Modifier and Type | Method and Description |
|---|---|
static Effect0 |
SimpleServicePublisher.close(Closeable c)
Create an effect to close a closeable suitable to return by
SimpleServicePublisher.registerService(java.util.Dictionary, org.osgi.service.component.ComponentContext). |
static Effect0 |
SimpleServicePublisher.close(PersistenceEnv penv)
Create an effect to close a persistence environment suitable to return by
SimpleServicePublisher.registerService(java.util.Dictionary, org.osgi.service.component.ComponentContext). |
static Effect0 |
SimpleServicePublisher.unregisterService(org.osgi.framework.ServiceRegistration sr)
Create an effect to unregister a service suitable to return by
SimpleServicePublisher.registerService(java.util.Dictionary, org.osgi.service.component.ComponentContext). |
| Modifier and Type | Method and Description |
|---|---|
List<Effect0> |
SimpleServicePublisher.ServiceReg.getOnShutdown() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleServicePublisher.ServiceReg |
SimpleServicePublisher.ServiceReg.reg(Effect0 onShutdown,
org.osgi.framework.ServiceRegistration... serviceRegistration) |
static SimpleServicePublisher.ServiceReg |
SimpleServicePublisher.ServiceReg.reg(org.osgi.framework.ServiceRegistration serviceRegistration,
Effect0... onShutdown) |
static SimpleServicePublisher.ServiceReg |
SimpleServicePublisher.ServiceReg.reg(org.osgi.framework.ServiceRegistration serviceRegistration,
Effect0 onShutdown) |
| Modifier and Type | Method and Description |
|---|---|
static SimpleServicePublisher.ServiceReg |
SimpleServicePublisher.ServiceReg.reg(List<org.osgi.framework.ServiceRegistration> serviceRegistrations,
List<Effect0> onShutdown) |
Copyright © 2009–2020 Opencast Project. All rights reserved.