Package com.taobao.metamorphosis.tools.domain

Examples of com.taobao.metamorphosis.tools.domain.Group


    final Set<String> set = iniConfig.keySet();
    List<Group> newGroupList = new LinkedList<Group>();
        for (final String name : set) {
            if (name != null && name.startsWith("group=")) {
              final Section section = iniConfig.get(name);
              Group group = new Group();
              group.setGroup(name.substring("group=".length()));
                group.setMobileList(Arrays.asList(section.get("mobile").split(",")));
                group.setTopicList(Arrays.asList(section.get("topic").split(",")));
                group.setWwList(Arrays.asList(section.get("ww").split(",")));
                if(!StringUtils.isBlank(section.get("ignoreTopic"))){
                  group.setIgnoreTopicList(Arrays.asList(section.get("ignoreTopic").split(",")))
                }
                newGroupList.add(group);
            }
        }
        if(!this.groupList.equals(newGroupList)){
View Full Code Here


    topicList.add("groupTopic");
   
    List<String> ignoreTopicList = new LinkedList<String>();
    ignoreTopicList.add("groupTopicIgnore");
   
    Group group = new Group();
    group.setGroup("group1");
    group.setIgnoreTopicList(ignoreTopicList);
    group.setTopicList(topicList);
    group.setWwList(wwList);
    List<Group> groupList = new LinkedList<Group>();
    groupList.add(group);
   
   
    ocp.findAlertList(groupList, "ww", "topic1", "group1", alertList);
View Full Code Here

TOP

Related Classes of com.taobao.metamorphosis.tools.domain.Group

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.