Examples of AfterTrigger


Examples of ru.aristar.jnuget.sources.push.AfterTrigger

        List<Properties> triggerOptions = new ArrayList<>();
        if (packageSource != null && packageSource.getPushStrategy() != null) {
            ModifyStrategy pushStrategy = packageSource.getPushStrategy();
            final List<AfterTrigger> afterTriggers = pushStrategy.getAftherPushTriggers();
            for (int i = 0; i < afterTriggers.size(); i++) {
                AfterTrigger afterTrigger = afterTriggers.get(i);
                Properties properties = new Properties(format("Триггер {0}", i + 1));
                triggerOptions.add(properties);
                Property classProperty = new Property("triggerClass", "Имя класса триггера", afterTrigger.getClass().getName());
                properties.getProperties().add(classProperty);
                properties.getProperties().addAll(getObjectProperties(afterTrigger));
            }
        }
        return triggerOptions;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.