Fix SAT AuthorContributionDescriptionCheck findings ()

Signed-off-by: Wouter Born <github@maindrain.net>
pull/1119/head
Wouter Born 2019-10-10 11:36:05 +02:00 committed by Christoph Weitkamp
parent 90005e4a56
commit 3d52c72a91
774 changed files with 236 additions and 942 deletions
bundles
org.openhab.core.audio/src
org.openhab.core.auth.oauth2client/src/main/java/org/eclipse/smarthome/auth/oauth2client/internal
org.openhab.core.automation.module.media/src/main/java/org/openhab/core/automation/module/media/internal
org.openhab.core.automation.rest/src/main/java/org/openhab/core/automation/rest/internal/dto
org.openhab.core.automation/src/main/java/org/openhab/core/automation

View File

@ -20,7 +20,6 @@ import org.eclipse.smarthome.core.audio.internal.AudioServlet;
* Streams are only served a single time and then discarded. * Streams are only served a single time and then discarded.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public interface AudioHTTPServer { public interface AudioHTTPServer {

View File

@ -27,7 +27,6 @@ import org.eclipse.smarthome.core.library.types.PercentType;
* @author Harald Kuhn - Initial contribution * @author Harald Kuhn - Initial contribution
* @author Kelly Davis - Modified to match discussion in #584 * @author Kelly Davis - Modified to match discussion in #584
* @author Christoph Weitkamp - Added getSupportedStreams() and UnsupportedAudioStreamException * @author Christoph Weitkamp - Added getSupportedStreams() and UnsupportedAudioStreamException
*
*/ */
@NonNullByDefault @NonNullByDefault
public interface AudioSink { public interface AudioSink {

View File

@ -20,7 +20,6 @@ import java.io.InputStream;
* This is an implementation of a {@link FixedLengthAudioStream}, which is based on a simple byte array. * This is an implementation of a {@link FixedLengthAudioStream}, which is based on a simple byte array.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class ByteArrayAudioStream extends FixedLengthAudioStream { public class ByteArrayAudioStream extends FixedLengthAudioStream {

View File

@ -27,7 +27,6 @@ import org.eclipse.smarthome.core.audio.utils.AudioStreamUtils;
* @author Karel Goderis - Initial contribution * @author Karel Goderis - Initial contribution
* @author Kai Kreuzer - Refactored to take a file as input * @author Kai Kreuzer - Refactored to take a file as input
* @author Christoph Weitkamp - Refactored use of filename extension * @author Christoph Weitkamp - Refactored use of filename extension
*
*/ */
public class FileAudioStream extends FixedLengthAudioStream { public class FileAudioStream extends FixedLengthAudioStream {

View File

@ -19,7 +19,6 @@ import java.io.InputStream;
* cloned streams. * cloned streams.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public abstract class FixedLengthAudioStream extends AudioStream { public abstract class FixedLengthAudioStream extends AudioStream {

View File

@ -34,7 +34,6 @@ import org.slf4j.LoggerFactory;
* @author Karel Goderis - Initial contribution * @author Karel Goderis - Initial contribution
* @author Kai Kreuzer - Refactored to not require a source * @author Kai Kreuzer - Refactored to not require a source
* @author Christoph Weitkamp - Refactored use of filename extension * @author Christoph Weitkamp - Refactored use of filename extension
*
*/ */
public class URLAudioStream extends AudioStream { public class URLAudioStream extends AudioStream {

View File

@ -45,7 +45,6 @@ import org.osgi.service.http.HttpService;
* A servlet that serves audio streams via HTTP. * A servlet that serves audio streams via HTTP.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@Component @Component
public class AudioServlet extends SmartHomeServlet implements AudioHTTPServer { public class AudioServlet extends SmartHomeServlet implements AudioHTTPServer {

View File

@ -35,7 +35,6 @@ import org.junit.Before;
* Base class for tests using the {@link AudioServlet}. * Base class for tests using the {@link AudioServlet}.
* *
* @author Henning Treu - Initial contribution * @author Henning Treu - Initial contribution
*
*/ */
public abstract class AbstractAudioServletTest extends JavaTest { public abstract class AbstractAudioServletTest extends JavaTest {

View File

@ -16,7 +16,6 @@ package org.eclipse.smarthome.auth.oauth2client.internal;
* Just a place to store all the important, reused keywords. * Just a place to store all the important, reused keywords.
* *
* @author Gary Tse - Initial contribution * @author Gary Tse - Initial contribution
*
*/ */
public interface Keyword { public interface Keyword {

View File

@ -50,7 +50,6 @@ import org.slf4j.LoggerFactory;
* *
* @author Michael Bock - Initial contribution * @author Michael Bock - Initial contribution
* @author Gary Tse - Initial contribution * @author Gary Tse - Initial contribution
*
*/ */
@NonNullByDefault @NonNullByDefault
public class OAuthClientServiceImpl implements OAuthClientService { public class OAuthClientServiceImpl implements OAuthClientService {

View File

@ -56,7 +56,6 @@ import com.google.gson.JsonSyntaxException;
* *
* @author Michael Bock - Initial contribution * @author Michael Bock - Initial contribution
* @author Gary Tse - ESH adaptation * @author Gary Tse - ESH adaptation
*
*/ */
@NonNullByDefault @NonNullByDefault
public class OAuthConnector { public class OAuthConnector {

View File

@ -22,7 +22,6 @@ import org.eclipse.smarthome.core.auth.client.oauth2.AccessTokenResponse;
* This is for OAuth client internal use. * This is for OAuth client internal use.
* *
* @author Gary Tse - Initial contribution * @author Gary Tse - Initial contribution
*
*/ */
@NonNullByDefault @NonNullByDefault
public interface OAuthStoreHandler { public interface OAuthStoreHandler {

View File

@ -68,7 +68,6 @@ import com.google.gson.JsonSerializer;
* The recycle is performed when then instance is deactivated * The recycle is performed when then instance is deactivated
* *
* @author Gary Tse - Initial contribution * @author Gary Tse - Initial contribution
*
*/ */
@NonNullByDefault @NonNullByDefault
@Component(property = "CIPHER_TARGET=SymmetricKeyCipher") @Component(property = "CIPHER_TARGET=SymmetricKeyCipher")

View File

@ -18,7 +18,6 @@ import org.eclipse.jdt.annotation.NonNull;
* Enum of types being used in the store * Enum of types being used in the store
* *
* @author Gary Tse - Initial contribution * @author Gary Tse - Initial contribution
*
*/ */
public enum StorageRecordType { public enum StorageRecordType {

View File

@ -42,7 +42,6 @@ import org.slf4j.LoggerFactory;
* This is a symmetric key encryption service for encrypting the OAuth tokens. * This is a symmetric key encryption service for encrypting the OAuth tokens.
* *
* @author Gary Tse - Initial contribution * @author Gary Tse - Initial contribution
*
*/ */
@NonNullByDefault @NonNullByDefault
@Component @Component

View File

@ -43,7 +43,6 @@ import org.osgi.service.component.annotations.Reference;
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
* @author Simon Kaufmann - added "say" action * @author Simon Kaufmann - added "say" action
*
*/ */
@Component(immediate = true) @Component(immediate = true)
public class MediaActionTypeProvider implements ModuleTypeProvider { public class MediaActionTypeProvider implements ModuleTypeProvider {

View File

@ -27,7 +27,6 @@ import org.osgi.service.component.annotations.Reference;
* This is a scope provider for features that are related to audio and voice support. * This is a scope provider for features that are related to audio and voice support.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@Component @Component
public class MediaScriptScopeProvider implements ScriptExtensionProvider { public class MediaScriptScopeProvider implements ScriptExtensionProvider {

View File

@ -34,8 +34,7 @@ import org.slf4j.LoggerFactory;
/** /**
* The {@link AbstractScriptedModuleHandlerFactory} wrappes the ScriptedHandler based on the underlying type. * The {@link AbstractScriptedModuleHandlerFactory} wrappes the ScriptedHandler based on the underlying type.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
public abstract class AbstractScriptedModuleHandlerFactory extends BaseModuleHandlerFactory { public abstract class AbstractScriptedModuleHandlerFactory extends BaseModuleHandlerFactory {
Logger logger = LoggerFactory.getLogger(AbstractScriptedModuleHandlerFactory.class); Logger logger = LoggerFactory.getLogger(AbstractScriptedModuleHandlerFactory.class);

View File

@ -53,8 +53,7 @@ import org.osgi.service.component.annotations.Reference;
* This Script-Extension provides types and presets to support writing Rules using a ScriptEngine. * This Script-Extension provides types and presets to support writing Rules using a ScriptEngine.
* One can write and register Rules and Modules by adding them through the HandlerRegistry and/or RuleRegistry * One can write and register Rules and Modules by adding them through the HandlerRegistry and/or RuleRegistry
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
@Component(immediate = true) @Component(immediate = true)
public class RuleSupportScriptExtension implements ScriptExtensionProvider { public class RuleSupportScriptExtension implements ScriptExtensionProvider {

View File

@ -29,8 +29,7 @@ import org.osgi.service.component.annotations.Component;
* This class provides the handlers from the script to the RuleManager. As Jsr223 languages have different needs, it * This class provides the handlers from the script to the RuleManager. As Jsr223 languages have different needs, it
* allows these handlers to be defined in different ways. * allows these handlers to be defined in different ways.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
@Component(immediate = true, service = { ScriptedCustomModuleHandlerFactory.class, ModuleHandlerFactory.class }) @Component(immediate = true, service = { ScriptedCustomModuleHandlerFactory.class, ModuleHandlerFactory.class })
public class ScriptedCustomModuleHandlerFactory extends AbstractScriptedModuleHandlerFactory { public class ScriptedCustomModuleHandlerFactory extends AbstractScriptedModuleHandlerFactory {

View File

@ -28,7 +28,6 @@ import org.osgi.service.component.annotations.Component;
* registered types can then be used publicly from any Rule-Editor. * 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 }) @Component(immediate = true, service = { ScriptedCustomModuleTypeProvider.class, ModuleTypeProvider.class })
public class ScriptedCustomModuleTypeProvider implements ModuleTypeProvider { public class ScriptedCustomModuleTypeProvider implements ModuleTypeProvider {

View File

@ -31,8 +31,7 @@ import org.slf4j.LoggerFactory;
* This class provides the handlers from the script to the RuleManager. As Jsr223 languages have different needs, it * This class provides the handlers from the script to the RuleManager. As Jsr223 languages have different needs, it
* allows these handlers to be defined in different ways. * allows these handlers to be defined in different ways.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
@Component(immediate = true, service = { ScriptedPrivateModuleHandlerFactory.class, ModuleHandlerFactory.class }) @Component(immediate = true, service = { ScriptedPrivateModuleHandlerFactory.class, ModuleHandlerFactory.class })
public class ScriptedPrivateModuleHandlerFactory extends AbstractScriptedModuleHandlerFactory { public class ScriptedPrivateModuleHandlerFactory extends AbstractScriptedModuleHandlerFactory {

View File

@ -23,8 +23,7 @@ import org.openhab.core.automation.module.script.rulesupport.shared.simple.Simpl
/** /**
* The {@link SimpleTriggerHandlerCallbackDelegate} allows a script to define callbacks for triggers in different ways. * The {@link SimpleTriggerHandlerCallbackDelegate} allows a script to define callbacks for triggers in different ways.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
public class SimpleTriggerHandlerCallbackDelegate implements SimpleTriggerHandlerCallback { public class SimpleTriggerHandlerCallbackDelegate implements SimpleTriggerHandlerCallback {
private final Trigger trigger; private final Trigger trigger;

View File

@ -48,7 +48,6 @@ import org.osgi.service.component.annotations.Reference;
* *
* @author Simon Merschjohann - Initial contribution * @author Simon Merschjohann - Initial contribution
* @author Kai Kreuzer - improved logging and removed thread pool * @author Kai Kreuzer - improved logging and removed thread pool
*
*/ */
@Component(immediate = true) @Component(immediate = true)
public class ScriptFileWatcher extends AbstractWatchService { public class ScriptFileWatcher extends AbstractWatchService {

View File

@ -25,8 +25,7 @@ import org.openhab.core.automation.RuleRegistry;
* rules to the RuleManager without worrying about the need to remove rules again. Nonetheless, using the addPermanent * rules to the RuleManager without worrying about the need to remove rules again. Nonetheless, using the addPermanent
* method it is still possible to add rules permanently. * method it is still possible to add rules permanently.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
public class RuleSupportRuleRegistryDelegate implements RuleRegistry { public class RuleSupportRuleRegistryDelegate implements RuleRegistry {
private final RuleRegistry ruleRegistry; private final RuleRegistry ruleRegistry;

View File

@ -41,8 +41,7 @@ import org.slf4j.LoggerFactory;
* This Registry is used for a single ScriptEngine instance. It allows the adding and removing of handlers. * This Registry is used for a single ScriptEngine instance. It allows the adding and removing of handlers.
* It allows the removal of previously added modules on unload. * It allows the removal of previously added modules on unload.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
public class ScriptedAutomationManager { public class ScriptedAutomationManager {
private final Logger logger = LoggerFactory.getLogger(ScriptedAutomationManager.class); private final Logger logger = LoggerFactory.getLogger(ScriptedAutomationManager.class);

View File

@ -15,8 +15,7 @@ package org.openhab.core.automation.module.script.rulesupport.shared;
/** /**
* Empty interface to identify scripted handlers * Empty interface to identify scripted handlers
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
public interface ScriptedHandler { public interface ScriptedHandler {

View File

@ -25,8 +25,7 @@ import org.osgi.service.component.annotations.Component;
* This RuleProvider keeps Rules at added by scripts during the runtime. This ensures that Rules are not kept on reboot, * This RuleProvider keeps Rules at added by scripts during the runtime. This ensures that Rules are not kept on reboot,
* but have to be added by the scripts again. * but have to be added by the scripts again.
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
@Component(immediate = true, service = { ScriptedRuleProvider.class, RuleProvider.class }) @Component(immediate = true, service = { ScriptedRuleProvider.class, RuleProvider.class })
public class ScriptedRuleProvider implements RuleProvider { public class ScriptedRuleProvider implements RuleProvider {

View File

@ -39,7 +39,6 @@ import org.openhab.core.automation.template.RuleTemplate;
* *
* @author Simon Merschjohann - Initial contribution * @author Simon Merschjohann - Initial contribution
* @author Kai Kreuzer - made it implement Rule * @author Kai Kreuzer - made it implement Rule
*
*/ */
@NonNullByDefault @NonNullByDefault
public abstract class SimpleRule implements Rule, SimpleRuleActionHandler { public abstract class SimpleRule implements Rule, SimpleRuleActionHandler {

View File

@ -19,7 +19,6 @@ import java.util.Map;
* A {@link ScriptExtensionProvider} can provide variable and types on ScriptEngine instance basis. * A {@link ScriptExtensionProvider} can provide variable and types on ScriptEngine instance basis.
* *
* @author Simon Merschjohann - Initial contribution * @author Simon Merschjohann - Initial contribution
*
*/ */
public interface ScriptExtensionProvider { public interface ScriptExtensionProvider {

View File

@ -30,8 +30,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
/** /**
* This manager allows a script import extension providers * This manager allows a script import extension providers
* *
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
@Component(service = ScriptExtensionManager.class) @Component(service = ScriptExtensionManager.class)
public class ScriptExtensionManager { public class ScriptExtensionManager {

View File

@ -27,7 +27,6 @@ import org.eclipse.smarthome.core.types.State;
* This is a helper class that can be added to script scopes. It provides easy access to the current item states. * This is a helper class that can be added to script scopes. It provides easy access to the current item states.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class ItemRegistryDelegate implements Map<String, State> { public class ItemRegistryDelegate implements Map<String, State> {

View File

@ -36,7 +36,6 @@ import org.slf4j.LoggerFactory;
* Note: This class is a copy from the {@link BusEvent} class, which resides in the model.script bundle. * Note: This class is a copy from the {@link BusEvent} class, which resides in the model.script bundle.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class ScriptBusEvent { public class ScriptBusEvent {

View File

@ -31,7 +31,6 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* Note: This class is a copy from the {@link ThingActions} class, which resides in the model.script bundle. * Note: This class is a copy from the {@link ThingActions} class, which resides in the model.script bundle.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class ScriptThingActions { public class ScriptThingActions {

View File

@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
/** /**
* This HandlerFactory creates ModuleHandlers for scripts. * This HandlerFactory creates ModuleHandlers for scripts.
* *
* @author Kai Kreuzer * @author Kai Kreuzer - Initial contribution
*/ */
@NonNullByDefault @NonNullByDefault
@Component(service = ModuleHandlerFactory.class) @Component(service = ModuleHandlerFactory.class)

View File

@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
* This is an abstract class that can be used when implementing any module handler that handles scripts. * This is an abstract class that can be used when implementing any module handler that handles scripts.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
* *
* @param <T> the type of module the concrete handler can handle * @param <T> the type of module the concrete handler can handle
*/ */

View File

@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory;
* This handler can execute script actions. * This handler can execute script actions.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*/ */
@NonNullByDefault @NonNullByDefault
public class ScriptActionHandler extends AbstractScriptModuleHandler<Action> implements ActionHandler { public class ScriptActionHandler extends AbstractScriptModuleHandler<Action> implements ActionHandler {

View File

@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory;
* This handler can evaluate a condition based on a script. * This handler can evaluate a condition based on a script.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*/ */
@NonNullByDefault @NonNullByDefault
public class ScriptConditionHandler extends AbstractScriptModuleHandler<Condition> implements ConditionHandler { public class ScriptConditionHandler extends AbstractScriptModuleHandler<Condition> implements ConditionHandler {

View File

@ -19,7 +19,6 @@ import org.openhab.core.automation.dto.RuleDTO;
* This is a data transfer object that is used to serialize rules with dynamic data like the status. * This is a data transfer object that is used to serialize rules with dynamic data like the status.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class EnrichedRuleDTO extends RuleDTO { public class EnrichedRuleDTO extends RuleDTO {

View File

@ -18,7 +18,6 @@ package org.openhab.core.automation;
* Every method in the implementation should provide annotations which are used to create the ModuleTypes * 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 { public interface AnnotatedActions {

View File

@ -25,7 +25,6 @@ import org.eclipse.smarthome.core.common.registry.RegistryChangeListener;
* for a single {@link Rule} to the Rule Engine. * for a single {@link Rule} to the Rule Engine.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@NonNullByDefault @NonNullByDefault
public interface ModuleHandlerCallback { public interface ModuleHandlerCallback {

View File

@ -25,7 +25,6 @@ import org.eclipse.smarthome.core.common.registry.RegistryChangeListener;
* for a single {@link Rule} to the Rule Engine. * for a single {@link Rule} to the Rule Engine.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@NonNullByDefault @NonNullByDefault
public interface RuleManager { public interface RuleManager {

View File

@ -23,7 +23,6 @@ import java.util.function.Predicate;
* This class add support for prefixes for {@link Rule} UIDs and provide default predicates for prefixes and tags. * 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 { public class RulePredicates {

View File

@ -19,7 +19,6 @@ import org.openhab.core.automation.type.ModuleType;
* Defines visibility values of {@link Rule}s, {@link ModuleType}s and {@link Template}s. * Defines visibility values of {@link Rule}s, {@link ModuleType}s and {@link Template}s.
* *
* @author Yordan Mihaylov - Initial contribution * @author Yordan Mihaylov - Initial contribution
*
*/ */
public enum Visibility { public enum Visibility {
/** /**

View File

@ -18,7 +18,6 @@ import java.util.List;
* This is a data transfer object that is used to serialize the respective class. * This is a data transfer object that is used to serialize the respective class.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class CompositeActionTypeDTO extends ActionTypeDTO { public class CompositeActionTypeDTO extends ActionTypeDTO {

View File

@ -18,7 +18,6 @@ import java.util.List;
* This is a data transfer object that is used to serialize the respective class. * This is a data transfer object that is used to serialize the respective class.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class CompositeConditionTypeDTO extends ConditionTypeDTO { public class CompositeConditionTypeDTO extends ConditionTypeDTO {

View File

@ -18,7 +18,6 @@ import java.util.List;
* This is a data transfer object that is used to serialize the respective class. * This is a data transfer object that is used to serialize the respective class.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class CompositeTriggerTypeDTO extends TriggerTypeDTO { public class CompositeTriggerTypeDTO extends TriggerTypeDTO {

View File

@ -22,7 +22,6 @@ import org.openhab.core.automation.Visibility;
* This is a data transfer object that is used to serialize the rule templates. * This is a data transfer object that is used to serialize the rule templates.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class RuleTemplateDTO { public class RuleTemplateDTO {
public String label; public String label;

View File

@ -20,7 +20,6 @@ import org.openhab.core.automation.template.RuleTemplate;
* This is a utility class to convert between the Rule Templates and RuleTemplateDTO objects. * This is a utility class to convert between the Rule Templates and RuleTemplateDTO objects.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class RuleTemplateDTOMapper { public class RuleTemplateDTOMapper {

View File

@ -20,7 +20,6 @@ import org.openhab.core.automation.dto.RuleDTO;
* *
* @author Benedikt Niehues - Initial contribution * @author Benedikt Niehues - Initial contribution
* @author Markus Rathgeb - Use the DTO for the Rule representation * @author Markus Rathgeb - Use the DTO for the Rule representation
*
*/ */
public abstract class AbstractRuleRegistryEvent extends AbstractEvent { public abstract class AbstractRuleRegistryEvent extends AbstractEvent {

View File

@ -18,7 +18,6 @@ import org.openhab.core.automation.dto.RuleDTO;
* An {@link RuleAddedEvent} notifies subscribers that a rule has been added. * 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 { public class RuleAddedEvent extends AbstractRuleRegistryEvent {

View File

@ -18,7 +18,6 @@ import org.openhab.core.automation.dto.RuleDTO;
* An {@link RuleRemovedEvent} notifies subscribers that a rule has been removed. * 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 { public class RuleRemovedEvent extends AbstractRuleRegistryEvent {

View File

@ -20,7 +20,6 @@ import org.openhab.core.automation.RuleStatusInfo;
* *
* @author Benedikt Niehues - Initial contribution * @author Benedikt Niehues - Initial contribution
* @author Kai Kreuzer - added toString method * @author Kai Kreuzer - added toString method
*
*/ */
public class RuleStatusInfoEvent extends AbstractEvent { public class RuleStatusInfoEvent extends AbstractEvent {

View File

@ -18,7 +18,6 @@ import org.openhab.core.automation.dto.RuleDTO;
* An {@link RuleUpdatedEvent} notifies subscribers that a rule has been updated. * 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 { public class RuleUpdatedEvent extends AbstractRuleRegistryEvent {

View File

@ -42,7 +42,6 @@ import org.openhab.core.automation.type.TriggerType;
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
* @author Benedikt Niehues - validation of connection-types respects inheriting types * @author Benedikt Niehues - validation of connection-types respects inheriting types
* @author Ana Dimova - new reference syntax: list[index], map["key"], bean.field * @author Ana Dimova - new reference syntax: list[index], map["key"], bean.field
*
*/ */
public class ConnectionValidator { public class ConnectionValidator {

View File

@ -33,7 +33,6 @@ import org.openhab.core.automation.type.Output;
* updated by RuleManager * updated by RuleManager
* *
* @author Yordan Mihaylov - Initial contribution * @author Yordan Mihaylov - Initial contribution
*
*/ */
public abstract class ModuleImpl implements Module { public abstract class ModuleImpl implements Module {

View File

@ -43,7 +43,6 @@ import org.slf4j.LoggerFactory;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
*
*/ */
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
public abstract class AbstractCommandProvider<E> implements ServiceTrackerCustomizer { public abstract class AbstractCommandProvider<E> implements ServiceTrackerCustomizer {

View File

@ -18,7 +18,6 @@ package org.openhab.core.automation.internal.commands;
* provider. * provider.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public abstract class AutomationCommand { public abstract class AutomationCommand {

View File

@ -18,7 +18,6 @@ import org.openhab.core.automation.RuleStatus;
* This class provides functionality of command {@link AutomationCommands#ENABLE_RULE}. * This class provides functionality of command {@link AutomationCommands#ENABLE_RULE}.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class AutomationCommandEnableRule extends AutomationCommand { public class AutomationCommandEnableRule extends AutomationCommand {

View File

@ -29,7 +29,6 @@ import org.openhab.core.automation.parser.Parser;
* </ul> * </ul>
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class AutomationCommandExport extends AutomationCommand { public class AutomationCommandExport extends AutomationCommand {

View File

@ -27,7 +27,6 @@ import org.openhab.core.automation.parser.Parser;
* </ul> * </ul>
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class AutomationCommandImport extends AutomationCommand { public class AutomationCommandImport extends AutomationCommand {

View File

@ -34,7 +34,6 @@ import org.openhab.core.automation.type.ModuleType;
* </ul> * </ul>
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class AutomationCommandList extends AutomationCommand { public class AutomationCommandList extends AutomationCommand {

View File

@ -30,7 +30,6 @@ import org.openhab.core.automation.Rule;
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - fixed feedback when deleting non-existent rule * @author Kai Kreuzer - fixed feedback when deleting non-existent rule
* @author Marin Mitev - removed prefixes in the output * @author Marin Mitev - removed prefixes in the output
*
*/ */
public class AutomationCommandRemove extends AutomationCommand { public class AutomationCommandRemove extends AutomationCommand {

View File

@ -39,7 +39,6 @@ import org.osgi.framework.BundleContext;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
*
*/ */
public abstract class AutomationCommands { public abstract class AutomationCommands {

View File

@ -54,7 +54,6 @@ import org.osgi.framework.ServiceRegistration;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
*
*/ */
public class CommandlineModuleTypeProvider extends AbstractCommandProvider<ModuleType> implements ModuleTypeProvider { public class CommandlineModuleTypeProvider extends AbstractCommandProvider<ModuleType> implements ModuleTypeProvider {

View File

@ -41,7 +41,6 @@ import org.osgi.framework.ServiceReference;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
*
*/ */
public class CommandlineRuleImporter extends AbstractCommandProvider<Rule> { public class CommandlineRuleImporter extends AbstractCommandProvider<Rule> {

View File

@ -51,7 +51,6 @@ import org.osgi.framework.ServiceRegistration;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
*
*/ */
public class CommandlineTemplateProvider extends AbstractCommandProvider<RuleTemplate> implements RuleTemplateProvider { public class CommandlineTemplateProvider extends AbstractCommandProvider<RuleTemplate> implements RuleTemplateProvider {

View File

@ -44,7 +44,6 @@ import org.openhab.core.automation.type.TriggerType;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Yordan Mihaylov - updates related to api changes * @author Yordan Mihaylov - updates related to api changes
*
*/ */
public class Printer { public class Printer {

View File

@ -22,7 +22,6 @@ import java.util.Map.Entry;
* This class contains methods for facilitating sorting and filtering lists stored in {@link Hashtable}s. * This class contains methods for facilitating sorting and filtering lists stored in {@link Hashtable}s.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class Utils { public class Utils {

View File

@ -33,7 +33,6 @@ import org.openhab.core.automation.util.ReferenceResolver;
* visible out of the context of the action. * visible out of the context of the action.
* *
* @author Yordan Mihaylov - Initial contribution * @author Yordan Mihaylov - Initial contribution
*
*/ */
public class CompositeActionHandler extends AbstractCompositeModuleHandler<Action, CompositeActionType, ActionHandler> public class CompositeActionHandler extends AbstractCompositeModuleHandler<Action, CompositeActionType, ActionHandler>
implements ActionHandler { implements ActionHandler {

View File

@ -27,7 +27,6 @@ import org.openhab.core.automation.type.CompositeConditionType;
* by its {@link CompositeConditionType}) are satisfied. * by its {@link CompositeConditionType}) are satisfied.
* *
* @author Yordan Mihaylov - Initial contribution * @author Yordan Mihaylov - Initial contribution
*
*/ */
public class CompositeConditionHandler public class CompositeConditionHandler
extends AbstractCompositeModuleHandler<Condition, CompositeConditionType, ConditionHandler> extends AbstractCompositeModuleHandler<Condition, CompositeConditionType, ConditionHandler>

View File

@ -36,7 +36,6 @@ import org.openhab.core.automation.util.ReferenceResolver;
* rule context. The outputs of the child triggers are not visible out of context of the trigger. * rule context. The outputs of the child triggers are not visible out of context of the trigger.
* *
* @author Yordan Mihaylov - Initial contribution * @author Yordan Mihaylov - Initial contribution
*
*/ */
public class CompositeTriggerHandler public class CompositeTriggerHandler
extends AbstractCompositeModuleHandler<Trigger, CompositeTriggerType, TriggerHandler> extends AbstractCompositeModuleHandler<Trigger, CompositeTriggerType, TriggerHandler>

View File

@ -16,7 +16,6 @@ package org.openhab.core.automation.internal.module.exception;
* This Exception is used as an indicator for not matching types during comparation * This Exception is used as an indicator for not matching types during comparation
* *
* @author Benedikt Niehues - Initial contribution * @author Benedikt Niehues - Initial contribution
*
*/ */
public class UncomparableException extends Exception { public class UncomparableException extends Exception {

View File

@ -35,7 +35,6 @@ import org.slf4j.LoggerFactory;
* This is an ModuleHandler implementation for trigger channels with specific events * This is an ModuleHandler implementation for trigger channels with specific events
* *
* @author Stefan Triller - Initial contribution * @author Stefan Triller - Initial contribution
*
*/ */
public class ChannelEventTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter { public class ChannelEventTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter {

View File

@ -30,7 +30,6 @@ import org.slf4j.LoggerFactory;
* Generic Comparation Condition * Generic Comparation Condition
* *
* @author Benedikt Niehues - Initial contribution * @author Benedikt Niehues - Initial contribution
*
*/ */
public class CompareConditionHandler extends BaseConditionModuleHandler { public class CompareConditionHandler extends BaseConditionModuleHandler {

View File

@ -29,7 +29,6 @@ import org.slf4j.LoggerFactory;
* *
* @author Christoph Knauf - Initial contribution * @author Christoph Knauf - Initial contribution
* @author Yordan Mihaylov - Remove Quarz lib dependency * @author Yordan Mihaylov - Remove Quarz lib dependency
*
*/ */
public class GenericCronTriggerHandler extends BaseTriggerModuleHandler implements SchedulerRunnable { public class GenericCronTriggerHandler extends BaseTriggerModuleHandler implements SchedulerRunnable {

View File

@ -43,7 +43,6 @@ import org.slf4j.LoggerFactory;
* *
* @author Benedikt Niehues - Initial contribution * @author Benedikt Niehues - Initial contribution
* @author Kai Kreuzer - refactored and simplified customized module handling * @author Kai Kreuzer - refactored and simplified customized module handling
*
*/ */
public class GenericEventTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter { public class GenericEventTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter {

View File

@ -38,7 +38,6 @@ import org.slf4j.LoggerFactory;
* configuration. * configuration.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class ItemCommandTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter { public class ItemCommandTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter {

View File

@ -41,8 +41,7 @@ import org.slf4j.LoggerFactory;
* configuration. * configuration.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
* @author Simon Merschjohann * @author Simon Merschjohann - Initial contribution
*
*/ */
public class ItemStateTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter { public class ItemStateTriggerHandler extends BaseTriggerModuleHandler implements EventSubscriber, EventFilter {
private final Logger logger = LoggerFactory.getLogger(ItemStateTriggerHandler.class); private final Logger logger = LoggerFactory.getLogger(ItemStateTriggerHandler.class);

View File

@ -29,7 +29,6 @@ import org.slf4j.LoggerFactory;
* at a specific time (format 'hh:mm'). * at a specific time (format 'hh:mm').
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
public class TimeOfDayTriggerHandler extends BaseTriggerModuleHandler implements SchedulerRunnable { public class TimeOfDayTriggerHandler extends BaseTriggerModuleHandler implements SchedulerRunnable {

View File

@ -34,7 +34,6 @@ import org.slf4j.LoggerFactory;
* *
* @author Christoph Knauf - Initial contribution * @author Christoph Knauf - Initial contribution
* @author Kai Kreuzer - added new module types * @author Kai Kreuzer - added new module types
*
*/ */
@Component(immediate = true, service = ModuleHandlerFactory.class) @Component(immediate = true, service = ModuleHandlerFactory.class)
public class TimerModuleHandlerFactory extends BaseModuleHandlerFactory { public class TimerModuleHandlerFactory extends BaseModuleHandlerFactory {

View File

@ -49,7 +49,6 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* from them * from them
* *
* @author Stefan Triller - Initial contribution * @author Stefan Triller - Initial contribution
*
*/ */
@Component(service = { ModuleTypeProvider.class, ModuleHandlerFactory.class }) @Component(service = { ModuleTypeProvider.class, ModuleHandlerFactory.class })
public class AnnotatedActionModuleTypeProvider extends BaseModuleHandlerFactory implements ModuleTypeProvider { public class AnnotatedActionModuleTypeProvider extends BaseModuleHandlerFactory implements ModuleTypeProvider {

View File

@ -23,7 +23,6 @@ import com.google.gson.InstanceCreator;
* This class creates {@link ActionType} instances. * This class creates {@link ActionType} instances.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class ActionInstanceCreator implements InstanceCreator<CompositeActionType> { public class ActionInstanceCreator implements InstanceCreator<CompositeActionType> {

View File

@ -23,7 +23,6 @@ import com.google.gson.InstanceCreator;
* This class creates {@link ConditionType} instances. * This class creates {@link ConditionType} instances.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class ConditionInstanceCreator implements InstanceCreator<CompositeConditionType> { public class ConditionInstanceCreator implements InstanceCreator<CompositeConditionType> {

View File

@ -41,7 +41,6 @@ import org.osgi.service.component.annotations.Component;
* This class can parse and serialize sets of {@link ModuleType}. * This class can parse and serialize sets of {@link ModuleType}.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@Component(immediate = true, service = Parser.class, property = { "parser.type=parser.module.type", "format=json" }) @Component(immediate = true, service = Parser.class, property = { "parser.type=parser.module.type", "format=json" })
public class ModuleTypeGSONParser extends AbstractGSONParser<ModuleType> { public class ModuleTypeGSONParser extends AbstractGSONParser<ModuleType> {

View File

@ -35,7 +35,6 @@ import com.google.gson.stream.JsonToken;
* This class can parse and serialize sets of {@link Rule}s. * This class can parse and serialize sets of {@link Rule}s.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@Component(immediate = true, service = Parser.class, property = { "parser.type=parser.rule", "format=json" }) @Component(immediate = true, service = Parser.class, property = { "parser.type=parser.rule", "format=json" })
public class RuleGSONParser extends AbstractGSONParser<Rule> { public class RuleGSONParser extends AbstractGSONParser<Rule> {

View File

@ -35,7 +35,6 @@ import com.google.gson.stream.JsonToken;
* This class can parse and serialize sets of {@link Template}s. * This class can parse and serialize sets of {@link Template}s.
* *
* @author Kai Kreuzer - Initial contribution * @author Kai Kreuzer - Initial contribution
*
*/ */
@Component(immediate = true, service = Parser.class, property = { "parser.type=parser.template", "format=json" }) @Component(immediate = true, service = Parser.class, property = { "parser.type=parser.template", "format=json" })
public class TemplateGSONParser extends AbstractGSONParser<Template> { public class TemplateGSONParser extends AbstractGSONParser<Template> {

View File

@ -23,7 +23,6 @@ import com.google.gson.InstanceCreator;
* This class creates {@link TriggerType} instances. * This class creates {@link TriggerType} instances.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class TriggerInstanceCreator implements InstanceCreator<CompositeTriggerType> { public class TriggerInstanceCreator implements InstanceCreator<CompositeTriggerType> {

View File

@ -32,7 +32,6 @@ import org.slf4j.LoggerFactory;
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
* @param <E> * @param <E>
*
*/ */
public class AutomationResourceBundlesEventQueue<E> implements Runnable { public class AutomationResourceBundlesEventQueue<E> implements Runnable {

View File

@ -41,8 +41,7 @@ import org.osgi.util.tracker.BundleTrackerCustomizer;
* This class is responsible for tracking the bundles - suppliers of automation resources. It implements * This class is responsible for tracking the bundles - suppliers of automation resources. It implements
* {@link BundleTrackerCustomizer} and is notified for events for adding, modifying or removing the bundles. * {@link BundleTrackerCustomizer} and is notified for events for adding, modifying or removing the bundles.
* *
* @author Ana Dimova * @author Ana Dimova - Initial contribution
*
*/ */
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
@Component(immediate = true) @Component(immediate = true)

View File

@ -24,8 +24,7 @@ import org.osgi.framework.Bundle;
import org.osgi.service.packageadmin.PackageAdmin; import org.osgi.service.packageadmin.PackageAdmin;
/** /**
* @author Ana Dimova * @author Ana Dimova - Initial contribution
*
*/ */
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
public class HostFragmentMappingUtil { public class HostFragmentMappingUtil {

View File

@ -39,7 +39,6 @@ import org.osgi.framework.Bundle;
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
* @author Kai Kreuzer - refactored (managed) provider and registry implementation * @author Kai Kreuzer - refactored (managed) provider and registry implementation
*
*/ */
public class RuleResourceBundleImporter extends AbstractResourceBundleProvider<Rule> { public class RuleResourceBundleImporter extends AbstractResourceBundleProvider<Rule> {

View File

@ -20,7 +20,6 @@ import java.util.StringTokenizer;
* determine if the bundle was updated, which needs to be checked after the system has been restarted. * determine if the bundle was updated, which needs to be checked after the system has been restarted.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public class Vendor { public class Vendor {

View File

@ -46,7 +46,6 @@ import org.slf4j.LoggerFactory;
* {@link ProviderChangeListener}s for adding, updating and removing the {@link ModuleType}s or {@link Template}s. * {@link ProviderChangeListener}s for adding, updating and removing the {@link ModuleType}s or {@link Template}s.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public abstract class AbstractFileProvider<E> implements Provider<E> { public abstract class AbstractFileProvider<E> implements Provider<E> {

View File

@ -28,7 +28,6 @@ import org.eclipse.smarthome.core.service.AbstractWatchService;
* It provides functionality for tracking {@link #watchingDir} changes to import or remove the automation objects. * It provides functionality for tracking {@link #watchingDir} changes to import or remove the automation objects.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
public class AutomationWatchService extends AbstractWatchService { public class AutomationWatchService extends AbstractWatchService {

View File

@ -25,7 +25,6 @@ import org.openhab.core.automation.type.ModuleTypeProvider;
* for importing the {@link ModuleType}s from local files. * for importing the {@link ModuleType}s from local files.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public abstract class ModuleTypeFileProvider extends AbstractFileProvider<ModuleType> implements ModuleTypeProvider { public abstract class ModuleTypeFileProvider extends AbstractFileProvider<ModuleType> implements ModuleTypeProvider {

View File

@ -26,7 +26,6 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* This class is a wrapper of {@link ModuleTypeProvider}, responsible for initializing the WatchService. * This class is a wrapper of {@link ModuleTypeProvider}, responsible for initializing the WatchService.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
@Component(immediate = true, service = ModuleTypeProvider.class) @Component(immediate = true, service = ModuleTypeProvider.class)
public class ModuleTypeFileProviderWatcher extends ModuleTypeFileProvider { public class ModuleTypeFileProviderWatcher extends ModuleTypeFileProvider {

View File

@ -26,7 +26,6 @@ import org.openhab.core.automation.template.TemplateProvider;
* for importing the {@link RuleTemplate}s from local files. * for importing the {@link RuleTemplate}s from local files.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
public abstract class TemplateFileProvider extends AbstractFileProvider<RuleTemplate> implements RuleTemplateProvider { public abstract class TemplateFileProvider extends AbstractFileProvider<RuleTemplate> implements RuleTemplateProvider {

View File

@ -27,7 +27,6 @@ import org.osgi.service.component.annotations.ReferencePolicy;
* This class is a wrapper of multiple {@link TemplateProvider}s, responsible for initializing the WatchService. * This class is a wrapper of multiple {@link TemplateProvider}s, responsible for initializing the WatchService.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
@Component(immediate = true, service = RuleTemplateProvider.class) @Component(immediate = true, service = RuleTemplateProvider.class)
public class TemplateFileProviderWatcher extends TemplateFileProvider { public class TemplateFileProviderWatcher extends TemplateFileProvider {

View File

@ -20,7 +20,6 @@ import java.util.Map;
* This class isolates the java 1.7 functionality which tracks the file system changes. * This class isolates the java 1.7 functionality which tracks the file system changes.
* *
* @author Ana Dimova - Initial contribution * @author Ana Dimova - Initial contribution
*
*/ */
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
public class WatchServiceUtil { public class WatchServiceUtil {

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