io.qameta.allure.tree.DefaultTreeGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-plugin-api Show documentation
Show all versions of allure-plugin-api Show documentation
Module allure-plugin-api of Allure Framework.
package io.qameta.allure.tree;
import java.util.HashSet;
import java.util.Set;
/**
* @author charlie (Dmitry Baev).
*/
public class DefaultTreeGroup implements TreeGroup {
private String name;
private Set children = new HashSet<>();
public DefaultTreeGroup(final String name) {
this.name = name;
}
@Override
public String getName() {
return name;
}
@Override
public Set getChildren() {
return children;
}
@Override
public void addChild(final TreeNode node) {
children.add(node);
}
public void setName(final String name) {
this.name = name;
}
public void setChildren(final Set children) {
this.children = children;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy