
org.dihedron.patterns.activities.engine.WaitMode Maven / Gradle / Ivy
/**
* Copyright (c) 2012-2014, Andrea Funto'. All rights reserved. See LICENSE for details.
*/
package org.dihedron.patterns.activities.engine;
import org.dihedron.core.License;
/**
* An enumeration representing how the activity should behave with respect
* to its sub-activities completion.
*
* @author Andrea Funto'
*/
@License
public enum WaitMode {
/**
* Wait for all sub-activities to complete before returning.
*/
WAIT_FOR_ALL,
/**
* Return as soon as any of the sub-activities has completed.
*/
WAIT_FOR_ANY
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy