
com.ajjpj.asysmon.data.AHierarchicalDataRoot Maven / Gradle / Ivy
package com.ajjpj.asysmon.data;
import com.ajjpj.abase.util.AUUID;
import java.util.ArrayList;
import java.util.Collection;
/**
* @author arno
*/
public class AHierarchicalDataRoot {
private final AUUID uuid = AUUID.createRandom();
private final Collection startedFlows;
private final Collection joinedFlows;
private final AHierarchicalData root;
public AHierarchicalDataRoot(AHierarchicalData root, Collection startedFlows, Collection joinedFlows) {
this.startedFlows = new ArrayList(startedFlows);
this.joinedFlows = new ArrayList(joinedFlows);
this.root = root;
}
public AUUID getUuid() {
return uuid;
}
public Collection getStartedFlows() {
return startedFlows;
}
public Collection getJoinedFlows() {
return joinedFlows;
}
public AHierarchicalData getRootNode() {
return root;
}
@Override
public String toString() {
return "AHierarchicalDataRoot{" +
"startedFlows=" + startedFlows +
", joinedFlows=" + joinedFlows +
", root=" + root +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy