Remove CustomEvents - unused (#2039)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-15 20:01:18 +02:00
committed by GitHub
parent ec6009b268
commit 05dd580a28
26 changed files with 47 additions and 97 deletions

View File

@@ -28,5 +28,4 @@ public interface AutoAssignExecutor {
* @param controllerId of the device to check
*/
void checkSingleTarget(String controllerId);
}
}

View File

@@ -22,5 +22,4 @@ public interface ActionStatusBuilder {
* @return create builder
*/
ActionStatusCreate create(long actionId);
}
}

View File

@@ -30,5 +30,4 @@ public interface SoftwareModuleMetadataBuilder {
* @return builder instance
*/
SoftwareModuleMetadataCreate create(long softwareModuleId);
}
}

View File

@@ -46,5 +46,4 @@ public interface SoftwareModuleMetadataCreate {
* builder
*/
SoftwareModuleMetadata build();
}
}

View File

@@ -32,5 +32,4 @@ public interface SoftwareModuleMetadataUpdate {
* @return updated builder instance
*/
SoftwareModuleMetadataUpdate targetVisible(Boolean visible);
}
}

View File

@@ -26,4 +26,4 @@ public interface SoftwareModuleTypeBuilder {
* @return builder instance
*/
SoftwareModuleTypeCreate create();
}
}

View File

@@ -59,4 +59,4 @@ public interface SoftwareModuleTypeCreate {
* builder
*/
SoftwareModuleType build();
}
}

View File

@@ -26,5 +26,4 @@ public interface TagBuilder {
* @return builder instance
*/
TagCreate create();
}
}

View File

@@ -38,5 +38,4 @@ public interface TagUpdate {
* @return updated builder instance
*/
TagUpdate colour(@Size(max = Tag.COLOUR_MAX_SIZE) String colour);
}
}

View File

@@ -28,4 +28,4 @@ public interface TargetBuilder {
* @return builder instance
*/
TargetCreate create();
}
}

View File

@@ -81,5 +81,4 @@ public interface TargetCreate {
* @return peek on current state of {@link Target} in the builder
*/
Target build();
}
}

View File

@@ -36,4 +36,4 @@ public interface TargetFilterQueryBuilder {
* @return builder instance
*/
TargetFilterQueryCreate create();
}
}

View File

@@ -92,4 +92,4 @@ public interface TargetFilterQueryCreate {
* @return peek on current state of {@link TargetFilterQuery} in the builder
*/
TargetFilterQuery build();
}
}

View File

@@ -31,4 +31,4 @@ public interface TargetFilterQueryUpdate {
* @return updated builder instance
*/
TargetFilterQueryUpdate query(@Size(min = 1, max = TargetFilterQuery.QUERY_MAX_SIZE) String query);
}
}

View File

@@ -26,4 +26,4 @@ public interface TargetTypeBuilder {
* @return builder instance
*/
TargetTypeCreate create();
}
}

View File

@@ -80,4 +80,4 @@ public interface TargetTypeCreate {
* builder
*/
TargetType build();
}
}

View File

@@ -38,4 +38,4 @@ public interface TargetTypeUpdate {
* @return updated builder instance
*/
TargetTypeUpdate name(@Size(max = NamedEntity.NAME_MAX_SIZE) String name);
}
}

View File

@@ -70,4 +70,4 @@ public interface TargetUpdate {
* @return updated builder instance
*/
TargetUpdate requestAttributes(Boolean requestAttributes);
}
}

View File

@@ -23,4 +23,4 @@ public interface ApplicationEventFilter {
* @return true if event should be filtered
*/
boolean filter(final ApplicationEvent event);
}
}

View File

@@ -1,19 +0,0 @@
/**
* Copyright (c) 2015 Bosch Software Innovations GmbH and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.hawkbit.repository.event;
/**
* Events to be published to refresh data on UI.
*/
public enum CustomEvents {
TARGETS_CREATED_EVENT,
DISTRIBUTION_CREATED_EVENT
}

View File

@@ -20,4 +20,4 @@ public interface TenantAwareEvent {
* @return the tenant of the event.
*/
String getTenant();
}
}

View File

@@ -14,8 +14,7 @@ import java.util.Objects;
import org.eclipse.hawkbit.repository.model.RolloutGroup;
/**
* Event which is published in case a {@linkplain RolloutGroup} is created or
* updated
* Event which is published in case a {@linkplain RolloutGroup} is created or updated
*/
public abstract class AbstractRolloutGroupEvent extends RemoteEntityEvent<RolloutGroup> {

View File

@@ -41,5 +41,4 @@ public interface ActionStatus extends TenantAwareBaseEntity {
Status getStatus();
Optional<Integer> getCode();
}
}