start with an upper case on "initial contribution" (#931)

Related to: https://github.com/openhab/openhab-core/pull/916/#discussion_r305082016

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
pull/936/head
Markus Rathgeb 2019-07-21 12:24:58 +02:00 committed by Christoph Weitkamp
parent b6aae6907f
commit ef05b4d878
291 changed files with 293 additions and 293 deletions

View File

@ -27,7 +27,7 @@ import org.osgi.service.component.annotations.Component;
* {@link ScriptedCustomModuleHandlerFactory} to allow scripts to define custom types in the RuleManager. These
* registered types can then be used publicly from any Rule-Editor.
*
* @author Simon Merschjohann - initial contribution
* @author Simon Merschjohann - Initial contribution
*
*/
@Component(immediate = true, service = { ScriptedCustomModuleTypeProvider.class, ModuleTypeProvider.class })

View File

@ -46,7 +46,7 @@ import org.osgi.service.component.annotations.Reference;
* The {@link ScriptFileWatcher} watches the jsr223 directory for files. If a new/modified file is detected, the script
* is read and passed to the {@link ScriptEngineManager}.
*
* @author Simon Merschjohann - initial contribution
* @author Simon Merschjohann - Initial contribution
* @author Kai Kreuzer - improved logging and removed thread pool
*
*/

View File

@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory;
/**
* This is an abstract class for implementing {@link ScriptEngineFactory}s.
*
* @author Scott Rushworth - initial contribution
* @author Scott Rushworth - Initial contribution
*/
@NonNullByDefault
public abstract class AbstractScriptEngineFactory implements ScriptEngineFactory {

View File

@ -17,7 +17,7 @@ package org.openhab.core.automation;
*
* Every method in the implementation should provide annotations which are used to create the ModuleTypes
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
public interface AnnotatedActions {

View File

@ -22,7 +22,7 @@ import java.util.function.Predicate;
/**
* This class add support for prefixes for {@link Rule} UIDs and provide default predicates for prefixes and tags.
*
* @author Victor Toni - initial contribution
* @author Victor Toni - Initial contribution
*
*/
public class RulePredicates {

View File

@ -15,7 +15,7 @@ package org.openhab.core.automation;
/**
* This interface is used by {@link RuleRegistry} implementation to be notified of changes related to statuses of rules.
*
* @author Yordan Mihaylov - initial contribution
* @author Yordan Mihaylov - Initial contribution
*/
public interface StatusInfoCallback {

View File

@ -22,7 +22,7 @@ import java.lang.annotation.Target;
/**
* Input parameter for an action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*/
@Repeatable(ActionInputs.class)
@Retention(RUNTIME)

View File

@ -21,7 +21,7 @@ import java.lang.annotation.Target;
/**
* Input parameter wrapper for an action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*/
@Retention(RUNTIME)
@Target(ElementType.PARAMETER)

View File

@ -22,7 +22,7 @@ import java.lang.annotation.Target;
/**
* Output parameter for an action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*/
@Repeatable(ActionOutputs.class)
@Retention(RUNTIME)

View File

@ -21,7 +21,7 @@ import java.lang.annotation.Target;
/**
* Output parameter wrapper for an action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*/
@Retention(RUNTIME)
@Target(ElementType.METHOD)

View File

@ -20,7 +20,7 @@ import java.lang.annotation.Target;
/**
* Scope definition for an action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@ -22,7 +22,7 @@ import org.openhab.core.automation.Visibility;
/**
* Marker annotation for an action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

View File

@ -18,7 +18,7 @@ import org.openhab.core.automation.dto.RuleDTO;
/**
* abstract class for rule events
*
* @author Benedikt Niehues - initial contribution
* @author Benedikt Niehues - Initial contribution
* @author Markus Rathgeb - Use the DTO for the Rule representation
*
*/

View File

@ -17,7 +17,7 @@ import org.openhab.core.automation.dto.RuleDTO;
/**
* An {@link RuleAddedEvent} notifies subscribers that a rule has been added.
*
* @author Benedikt Niehues - initial contribution
* @author Benedikt Niehues - Initial contribution
*
*/
public class RuleAddedEvent extends AbstractRuleRegistryEvent {

View File

@ -17,7 +17,7 @@ import org.openhab.core.automation.dto.RuleDTO;
/**
* An {@link RuleRemovedEvent} notifies subscribers that a rule has been removed.
*
* @author Benedikt Niehues - initial contribution
* @author Benedikt Niehues - Initial contribution
*
*/
public class RuleRemovedEvent extends AbstractRuleRegistryEvent {

View File

@ -18,7 +18,7 @@ import org.openhab.core.automation.RuleStatusInfo;
/**
* An {@link RuleStatusInfoEvent} notifies subscribers that a rule status has been updated.
*
* @author Benedikt Niehues - initial contribution
* @author Benedikt Niehues - Initial contribution
* @author Kai Kreuzer - added toString method
*
*/

View File

@ -17,7 +17,7 @@ import org.openhab.core.automation.dto.RuleDTO;
/**
* An {@link RuleUpdatedEvent} notifies subscribers that a rule has been updated.
*
* @author Benedikt Niehues - initial contribution
* @author Benedikt Niehues - Initial contribution
*
*/
public class RuleUpdatedEvent extends AbstractRuleRegistryEvent {

View File

@ -35,7 +35,7 @@ import org.slf4j.LoggerFactory;
/**
* This class is a factory that creates Rule Events.
*
* @author Benedikt Niehues - initial contribution
* @author Benedikt Niehues - Initial contribution
* @author Markus Rathgeb - Use the DTO for the Rule representation
*/
@Component(service = EventFactory.class, immediate = true)

View File

@ -32,7 +32,7 @@ import org.slf4j.LoggerFactory;
* This HandlerFactory creates TimerTriggerHandlers to control items within the
* RuleManager.
*
* @author Christoph Knauf - initial contribution
* @author Christoph Knauf - Initial contribution
* @author Kai Kreuzer - added new module types
*
*/

View File

@ -48,7 +48,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* This provider parses annotated {@link AnnotatedActions}s and creates action module types, as well as their handlers
* from them
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(service = { ModuleTypeProvider.class, ModuleHandlerFactory.class })

View File

@ -45,7 +45,7 @@ import org.slf4j.LoggerFactory;
/**
* Implementation of a service that provides i18n functionality for automation modules
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component

View File

@ -15,7 +15,7 @@ package org.openhab.core.automation.module.provider;
/**
* Type to distinguish annotated ActionModules
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
public enum ActionModuleKind {

View File

@ -46,7 +46,7 @@ import org.slf4j.LoggerFactory;
/**
* Helper methods for annotated ActionModuleType provider
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
public class AnnotationActionModuleTypeHelper {

View File

@ -23,7 +23,7 @@ import org.openhab.core.automation.type.Output;
/**
* Wrapper class to collect information about actions modules to be created
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
public class ModuleInformation {

View File

@ -20,7 +20,7 @@ import org.osgi.framework.Bundle;
/**
* Interface for a service that offer i18n functionality
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
public interface ModuleTypeI18nService {

View File

@ -47,7 +47,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
/**
* ModuleTypeProvider that collects actions for {@link ThingHandler}s
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(service = { ModuleTypeProvider.class, ModuleHandlerFactory.class })

View File

@ -22,7 +22,7 @@ import org.osgi.service.component.annotations.Reference;
/**
* Provides {@link ConfigDescription}s for bindings which are read from XML files.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
@Component(service = ConfigDescriptionProvider.class, immediate = true, property = { "esh.scope=core.xml.binding" })

View File

@ -20,7 +20,7 @@ import org.eclipse.jdt.annotation.Nullable;
/**
* Can be implemented to point one config description URI to another.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
@NonNullByDefault

View File

@ -31,7 +31,7 @@ import com.google.gson.JsonPrimitive;
*
* As opposed to Gson's default behavior, it ensures that all numbers are represented as {@link BigDecimal}s.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
* @author Ana Dimova - added a deserializer for the configuration, conforming to the automation json format
*
*/

View File

@ -31,7 +31,7 @@ import org.slf4j.LoggerFactory;
/**
* Map an OSGi configuration map {@code Map<String, Object>} to an individual configuration bean.
*
* @author David Graeff - initial contribution
* @author David Graeff - Initial contribution
*
*/
public class ConfigMapper {

View File

@ -30,7 +30,7 @@ import org.osgi.service.component.annotations.Component;
/**
* {@link ConfigOptionProvider} that provides a list of
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
* @author Erdoan Hadzhiyusein - Added time zone
*
*/

View File

@ -58,7 +58,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* depending on which main value was chosen. Implementations of course are free to ignore the {@code value} parameter
* and always return the same set of config descriptions.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
@Component

View File

@ -29,7 +29,7 @@ import org.osgi.service.component.annotations.Component;
/**
* Provides a list of IPv4 addresses of the local machine and shows the user which interface belongs to which IP address
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component

View File

@ -18,7 +18,7 @@ import org.slf4j.LoggerFactory;
/**
* Common base class for all normalizers, doing the specific type conversion.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - renamed normalizer interface and added javadoc
*/
abstract class AbstractNormalizer implements Normalizer {

View File

@ -21,7 +21,7 @@ import org.eclipse.smarthome.config.core.ConfigDescriptionParameter;
* Therefore it considers numbers (0/1 and their {@link String} representations) as well as {@link String}s, containing
* apart from the typical "true"/"false" also other values like "yes"/"no", "on"/"off".
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - made class final and minor javadoc changes
*/
final class BooleanNormalizer extends AbstractNormalizer {

View File

@ -20,7 +20,7 @@ import org.eclipse.smarthome.config.core.ConfigDescriptionParameter;
* The normalizer for {@link ConfigDescriptionParameter.Type#DECIMAL}. It converts all number types to BigDecimal,
* having at least one digit after the floating point. Also {@link String}s are converted if possible.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - made class final and minor javadoc changes
*/
final class DecimalNormalizer extends AbstractNormalizer {

View File

@ -21,7 +21,7 @@ import org.eclipse.smarthome.config.core.ConfigDescriptionParameter;
* The normalizer for {@link ConfigDescriptionParameter.Type#INTEGER}. All different number formats will get converted
* to BigDecimal, not allowing any fractions. Also, {@link String}s will be converted if possible.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - made class final and minor javadoc changes
*/
final class IntNormalizer extends AbstractNormalizer {

View File

@ -19,7 +19,7 @@ import java.util.List;
* The normalizer for configuration parameters allowing multiple values. It converts all collections/arrays to a
* {@link List} and applies the underlying normalizer to each of the values inside that list.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - made class final and minor javadoc changes
*/
final class ListNormalizer extends AbstractNormalizer {

View File

@ -19,7 +19,7 @@ import org.eclipse.smarthome.config.core.ConfigDescriptionParameter;
* definition of a config description parameter. As an example a boolean normalizer would convert a given numeric value
* 0 to false and a given numeric value 1 to true.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
* @author Thomas Höfer - renamed from INormalizer and minor javadoc changes
*/
public interface Normalizer {

View File

@ -23,7 +23,7 @@ import org.eclipse.smarthome.config.core.ConfigDescriptionParameter.Type;
* The {@link NormalizerFactory} can be used in order to obtain the {@link Normalizer} for any concrete
* {@link ConfigDescriptionParameter.Type}.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - introduced normalizers map and added precondition check as well as some additional javadoc
*/
public final class NormalizerFactory {

View File

@ -18,7 +18,7 @@ import org.eclipse.smarthome.config.core.ConfigDescriptionParameter;
* The normalizer for the {@link ConfigDescriptionParameter.Type#TEXT}. It basically ensures that the given value will
* turned into its {@link String} representation.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Thomas Höfer - made class final and minor javadoc changes
*/
final class TextNormalizer extends AbstractNormalizer {

View File

@ -29,7 +29,7 @@ import org.eclipse.smarthome.config.core.ParameterOption;
* Every extension which deals with specific metadata (in its own namespace) is expected to provide an implementation of
* this interface.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*/
@NonNullByDefault
public interface MetadataConfigDescriptionProvider {

View File

@ -26,7 +26,7 @@ import org.junit.Test;
/**
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class ConfigUtilTest {

View File

@ -26,7 +26,7 @@ import org.junit.Test;
/**
* Tests for {@link I18nConfigOptionsProvider}
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
public class I18nConfigOptionsProviderTest {

View File

@ -24,7 +24,7 @@ import org.eclipse.smarthome.config.discovery.usbserial.UsbSerialDeviceInformati
* Permits to perform repeated scans for USB devices with associated serial port. Keeps the last scan result as internal
* state, for detecting which devices were added, as well as which devices were removed.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
public class DeltaUsbSerialScanner {

View File

@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
* A {@link UsbSerialDiscovery} that implements background discovery by doing repetitive scans using a
* {@link UsbSerialScanner}, pausing a configurable amount of time between subsequent scans.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
@Component(configurationPid = "discovery.usbserial.linuxsysfs.pollingscanner")

View File

@ -51,7 +51,7 @@ import org.slf4j.LoggerFactory;
* is collected from the sysfs and returned together with the name of the serial port in form of a
* {@link UsbSerialDeviceInformation}.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@Component(configurationPid = "discovery.usbserial.linuxsysfs.usbserialscanner")
@NonNullByDefault

View File

@ -21,7 +21,7 @@ import org.eclipse.smarthome.config.discovery.usbserial.UsbSerialDeviceInformati
/**
* Implementations of this interface scan for serial ports provided by USB devices.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
public interface UsbSerialScanner {

View File

@ -28,7 +28,7 @@ import org.eclipse.jdt.annotation.Nullable;
* the other hand, the name of the serial port (for Linux, this would be, e.g., '/dev/ttyUSB0', for Windows, e.g.,
* 'COM4').
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
public class UsbSerialDeviceInformation {

View File

@ -19,7 +19,7 @@ import org.eclipse.smarthome.config.discovery.usbserial.internal.UsbSerialDiscov
* Interface for implementations for discovering serial ports provided by a USB device. An implementation of this
* interface is required by the {@link UsbSerialDiscoveryService}.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
public interface UsbSerialDiscovery {

View File

@ -17,7 +17,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
/**
* Listener interface for {@link UsbSerialDiscovery}s.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
public interface UsbSerialDiscoveryListener {

View File

@ -26,7 +26,7 @@ import org.eclipse.smarthome.core.thing.ThingUID;
* {@link UsbSerialDiscoveryService} and can thus contribute {@link DiscoveryResult}s from
* scans for USB devices with an associated serial port.
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
public interface UsbSerialDiscoveryParticipant {

View File

@ -58,7 +58,7 @@ import org.slf4j.LoggerFactory;
* This discovery service requires a component implementing the interface {@link UsbSerialDiscovery}, which performs the
* actual serial port and USB device discovery (as this discovery might differ depending on the operating system).
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
@NonNullByDefault
@Component(immediate = true, service = { DiscoveryService.class,

View File

@ -26,7 +26,7 @@ import org.eclipse.smarthome.core.thing.ThingUID;
* @deprecated The use of this callback is deprecated. The {@link Inbox} is able to deal with updates.
* Incremental discovery should be handled internally by each {@link DiscoveryService}.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Henning Treu - deprecation.
*/
@Deprecated

View File

@ -25,7 +25,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
* future versions. Please see the deprecation documentation on {@link DiscoveryServiceCallback} for more
* details.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
* @author Henning Treu - deprecation.
*
*/

View File

@ -32,7 +32,7 @@ import org.osgi.service.component.annotations.Component;
* Please note that this interface is intended to be implemented by solutions integrating openHAB. This
* interface is <em>not</em> intended to be implemented by openHAB addons (like, e.g., bindings).
*
* @author Henning Sudbrock - initial contribution
* @author Henning Sudbrock - Initial contribution
*/
public interface InboxAutoApprovePredicate extends Predicate<DiscoveryResult> {

View File

@ -30,7 +30,7 @@ import org.osgi.framework.Bundle;
/**
* Common base class for XML based providers.
*
* @author Simon Kaufmann - initial contribution, factored out of subclasses
* @author Simon Kaufmann - Initial contribution, factored out of subclasses
*
* @param <T_ID> the key type, e.g. ThingTypeUID, ChannelUID, URI,...
* @param <T_OBJECT> the object type, e.g. ThingType, ChannelType, ConfigDescription,...

View File

@ -37,7 +37,7 @@ import org.osgi.service.component.annotations.Reference;
/**
* Provides {@link ConfigDescription}s for configurations which are read from XML files.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
@Component(service = ConfigDescriptionProvider.class, immediate = true, property = { "esh.scope=core.xml.config" })

View File

@ -23,7 +23,7 @@ import org.osgi.service.component.annotations.Component;
/**
* A handler which forces basic auth when authentication fails.
*
* @author Łukasz Dywicki - initial contribution and API.
* @author Łukasz Dywicki - Initial contribution and API.
*/
@Component
public class BasicChallengeHandler implements Handler {

View File

@ -25,7 +25,7 @@ import org.osgi.service.component.annotations.Component;
/**
* Extract user name and password from incoming request.
*
* @author Łukasz Dywicki - initial contribution.
* @author Łukasz Dywicki - Initial contribution.
*/
@Component(property = { "context=javax.servlet.http.HttpServletRequest" })
public class BasicCredentialsExtractor implements CredentialsExtractor<HttpServletRequest> {

View File

@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory;
/**
* Request handler which allows to verify authentication.
*
* @author Łukasz Dywicki - initial contribution.
* @author Łukasz Dywicki - Initial contribution.
*/
@Component(configurationPid = "org.eclipse.smarthome.auth")
public class AuthenticationHandler implements Handler {

View File

@ -26,7 +26,7 @@ import org.osgi.service.component.annotations.Component;
/**
* Handler located after authentication which redirect client to page from which he started authentication process.
*
* @author Łukasz Dywicki - initial contribution.
* @author Łukasz Dywicki - Initial contribution.
*/
@Component
public class RedirectHandler implements Handler {

View File

@ -20,7 +20,7 @@ import org.osgi.service.http.HttpService;
* Create {@link HttpContext} instances when registering servlets, resources or filters using the
* {@link HttpService#registerServlet} and corresponding methods.
*
* @author Henning Treu - initial contribution and API
* @author Henning Treu - Initial contribution and API
*
*/
public interface HttpContextFactoryService {

View File

@ -23,7 +23,7 @@ import org.osgi.service.http.HttpContext;
/**
* Http context which does nothing but lets the delegate do its job.
*
* @author Łukasz Dywicki - initial contribution.
* @author Łukasz Dywicki - Initial contribution.
*/
class DelegatingHttpContext implements HttpContext {

View File

@ -26,7 +26,7 @@ import org.osgi.service.http.HttpService;
* {@link HttpService#registerServlet} and corresponding methods.
* The resulting {@link HttpContext} complies with the OSGi specification when it comes to resource resolving.
*
* @author Henning Treu - initial contribution and API
* @author Henning Treu - Initial contribution and API
*
*/
@Component(service = HttpContextFactoryService.class)

View File

@ -37,7 +37,7 @@ import com.google.gson.GsonBuilder;
/**
* JSON reader/writer for Jersey using GSON.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
* @param <T>
*/

View File

@ -33,7 +33,7 @@ import org.osgi.service.component.annotations.Reference;
/**
* Matches available metadata namespaces against the given namespace list or regular expression.
*
* @author Henning Treu - initial contribution
* @author Henning Treu - Initial contribution
*
*/
@Component(service = MetadataSelectorMatcher.class)

View File

@ -58,7 +58,7 @@ import io.swagger.annotations.ApiResponses;
/**
* REST resource to obtain profile-types
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Path(ProfileTypeResource.PATH_PROFILE_TYPES)

View File

@ -25,7 +25,7 @@ import com.eclipsesource.jaxrs.publisher.ResourceFilter;
* It registers a {@link ResourceFilter} in order to prevent the JAX-RS implementation to
* enforce starting all services once they are registered.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class Activator implements BundleActivator {

View File

@ -52,7 +52,7 @@ import com.eclipsesource.jaxrs.publisher.ResourceFilter;
*
* If this file is present, no other services will be scanned and hence won't be available.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class ResourceFilterImpl implements ResourceFilter {

View File

@ -56,7 +56,7 @@ import org.mockito.Mock;
/**
* Test aspects of the {@link SitemapResource}.
*
* @author Henning Treu - initial contribution
* @author Henning Treu - Initial contribution
*
*/
public class SitemapResourceTest extends JavaTest {

View File

@ -17,7 +17,7 @@ import java.util.stream.Stream;
/**
* Utilities for mapping/transforming DTOs.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public interface DTOMapper {

View File

@ -38,7 +38,7 @@ import com.google.gson.stream.JsonWriter;
/**
* Static helper methods to build up JSON-like Response objects and error handling.
*
* @author Joerg Plewe - initial contribution
* @author Joerg Plewe - Initial contribution
* @author Henning Treu - Provide streaming capabilities
*/
public class JSONResponse {

View File

@ -20,7 +20,7 @@ import org.eclipse.jdt.annotation.Nullable;
/**
* Provides helper method for working with locales.
*
* @author Lyubomir Papazov - initial contribution
* @author Lyubomir Papazov - Initial contribution
*
*/
@NonNullByDefault

View File

@ -29,7 +29,7 @@ import com.google.gson.GsonBuilder;
* from the top level elements of the stream. For best performance a flattened stream should be provided. Otherwise a
* nested collections JSON representation will be fully transformed into memory.
*
* @author Henning Treu - initial contribution
* @author Henning Treu - Initial contribution
*
*/
public class Stream2JSONInputStream extends InputStream {

View File

@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory;
* {@link DTOMapper} implementation.
*
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
@Component

View File

@ -22,7 +22,7 @@ import com.google.inject.Inject;
/**
* Registers {@link IValueConverter}s for the items language.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class ItemValueConverters extends DefaultTerminalConverters {

View File

@ -32,7 +32,7 @@ import org.slf4j.LoggerFactory;
* It takes into account the fact that although language server and client both operate on the same set of files, their
* file system location might be different due to remote access via SMB, SSH and the like.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class MappingUriExtensions extends UriExtensions {

View File

@ -42,7 +42,7 @@ import com.google.inject.Injector;
/**
* A service component exposing a Language Server via sockets.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
@Component(immediate = true, service = ModelServer.class, configurationPid = ModelServer.CONFIG_PID, property = {

View File

@ -41,7 +41,7 @@ import com.google.inject.Singleton;
*
* It just piggy-backs the static Resgitry instance that the runtime bundles are using anyway.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
@Singleton

View File

@ -35,7 +35,7 @@ import com.google.inject.AbstractModule;
/**
* This class configures the injector for the Language Server.
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class RuntimeServerModule extends AbstractModule {

View File

@ -22,7 +22,7 @@ import org.eclipse.xtext.xbase.typesystem.internal.OptimizingFeatureScopeTracker
*
* ...with a workaround for https://github.com/eclipse/xtext-extras/issues/144
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class OptimizingFeatureScopeTrackerProvider2 extends OptimizingFeatureScopeTrackerProvider {

View File

@ -29,7 +29,7 @@ import com.google.inject.Module;
/**
* Guice module that binds openHAB services
*
* @author Simon Kaufmann - initial contribution and API.
* @author Simon Kaufmann - Initial contribution and API.
*
*/
public class ServiceModule implements Module {

View File

@ -24,7 +24,7 @@ import org.eclipse.xtext.parser.IEncodingProvider;
* It makes sure that synthetic resources are interpreted as UTF-8 because they will be handed in as strings and turned
* into UTF-8 encoded streams by the script engine.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*/
public class ScriptEncodingProvider implements IEncodingProvider {

View File

@ -25,7 +25,7 @@ import org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference;
/**
* Calculates the type information used by Xbase to select the correct method during script execution.
*
* @author Henning Treu - initial contribution
* @author Henning Treu - Initial contribution
*
*/
@SuppressWarnings("restriction")

View File

@ -37,7 +37,7 @@ import org.osgi.framework.Bundle;
/**
* Test the GenericThingProvider for different {@link ThingHandlerFactory}s for Bridge and Thing.
*
* @author Henning Treu - initial contribution
* @author Henning Treu - Initial contribution
*
*/
public class GenericThingProviderMultipleBundlesTest {

View File

@ -17,7 +17,7 @@ import com.google.gson.annotations.SerializedName;
/**
* Internal data structure of the {@link JsonStorage}
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
public class StorageEntry {

View File

@ -30,7 +30,7 @@ import com.google.gson.JsonParseException;
*
* The contained entities remain json objects and won't me deserialized to their corresponding types at this point.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
public class StorageEntryMapDeserializer implements JsonDeserializer<Map<String, StorageEntry>> {

View File

@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory;
/**
* ThingHandler which provides annotated actions that will become Action modules for the automation engine
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@NonNullByDefault

View File

@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory;
/**
* ThingHandler that randomly sends numbers and strings to channels based on a configured interval
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@NonNullByDefault

View File

@ -25,7 +25,7 @@ import org.eclipse.smarthome.core.types.Command;
/**
* ThingHandler for a thing that goes online after 15 seconds
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@NonNullByDefault

View File

@ -19,7 +19,7 @@ import org.osgi.service.component.annotations.Component;
/**
* Marker for the multiple action module
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(immediate = true, service = MagicMultiActionMarker.class, property = {

View File

@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
* The {@link MagicMultiActionMarker} holds the configuration URI and shows the system that THIS service can be
* instantiated multiple times
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(immediate = true, configurationPolicy = ConfigurationPolicy.REQUIRE, configurationPid = "org.eclipse.smarthome.MagicMultiAction")

View File

@ -31,7 +31,7 @@ import org.slf4j.LoggerFactory;
/**
* {@link AnnotatedActions} for one action module with a configuration
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(configurationPid = "org.eclipse.smarthome.automation.action.magicSingleActionService", property = {

View File

@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
/**
* Some automation actions to be used with a {@link MagicActionModuleThingHandler}
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@ActionScope(name = "magic")

View File

@ -32,7 +32,7 @@ import org.osgi.service.http.NamespaceException;
/**
* Registers itself under "/" and provides links to other web UIs
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(immediate = true)

View File

@ -30,7 +30,7 @@ import org.osgi.service.component.annotations.Component;
/**
* Describes the metadata for the "magic" namespace.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
@Component

View File

@ -25,7 +25,7 @@ import org.osgi.service.component.annotations.Component;
/**
* Describes the metadata for the "metamagic" namespace.
*
* @author Henning Treu - initial contribution and API
* @author Henning Treu - Initial contribution and API
*
*/
@Component

View File

@ -31,7 +31,7 @@ import org.slf4j.LoggerFactory;
/**
* Example service which makes use of the metadata of the "magic" namespace.
*
* @author Simon Kaufmann - initial contribution and API
* @author Simon Kaufmann - Initial contribution and API
*
*/
@NonNullByDefault

View File

@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
/**
* Testing service for multi-context configurations.
*
* @author Stefan Triller - initial contribution
* @author Stefan Triller - Initial contribution
*
*/
@Component(immediate = true, configurationPolicy = ConfigurationPolicy.REQUIRE, service = MagicMultiInstanceService.class, configurationPid = "org.eclipse.smarthome.magicMultiInstance")

Some files were not shown because too many files have changed in this diff Show More