This is an automated email from the ASF dual-hosted git repository. bossenti pushed a commit to branch remove-class in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit d1204d3041cf76201029f54fc3a1dee9d68fe1e7 Author: Tim Bossenmaier <[email protected]> AuthorDate: Fri Mar 15 09:58:21 2024 +0100 refactor: remove unused class `PipelineElementContainer` --- .../model/graph/PipelineElementContainer.java | 49 ---------------------- 1 file changed, 49 deletions(-) diff --git a/streampipes-model/src/main/java/org/apache/streampipes/model/graph/PipelineElementContainer.java b/streampipes-model/src/main/java/org/apache/streampipes/model/graph/PipelineElementContainer.java deleted file mode 100644 index b427c887fc..0000000000 --- a/streampipes-model/src/main/java/org/apache/streampipes/model/graph/PipelineElementContainer.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -package org.apache.streampipes.model.graph; - -import org.apache.streampipes.model.base.NamedStreamPipesEntity; -import org.apache.streampipes.model.util.Cloner; - -import java.util.ArrayList; -import java.util.List; - -public class PipelineElementContainer extends NamedStreamPipesEntity { - - private List<NamedStreamPipesEntity> pipelineElementDescriptions; - - public PipelineElementContainer(PipelineElementContainer other) { - super(other); - if (other.getPipelineElementDescriptions() != null) { - this.pipelineElementDescriptions = new Cloner().cloneDescriptions(other.getPipelineElementDescriptions()); - } - } - - public PipelineElementContainer(String containerId, String name, String description) { - super(containerId, name, description); - this.pipelineElementDescriptions = new ArrayList<>(); - } - - public List<NamedStreamPipesEntity> getPipelineElementDescriptions() { - return pipelineElementDescriptions; - } - - public void setPipelineElementDescriptions(List<NamedStreamPipesEntity> pipelineElementDescriptions) { - this.pipelineElementDescriptions = pipelineElementDescriptions; - } -}
