| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ProcessFactory |
|
| 1.0;1 |
| 1 | /* | |
| 2 | Copyright (C) 2007 Grid Systems, S.A. | |
| 3 | ||
| 4 | This library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | This library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with this library; if not, write to the Free Software | |
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | */ | |
| 18 | package nextgrid.api.pom; | |
| 19 | ||
| 20 | /** | |
| 21 | * Type description. | |
| 22 | * | |
| 23 | * @author Rodrigo Ruiz | |
| 24 | */ | |
| 25 | public interface ProcessFactory { | |
| 26 | ||
| 27 | /** | |
| 28 | * Creates a new process instance. | |
| 29 | * | |
| 30 | * @return A process instance | |
| 31 | */ | |
| 32 | AbstractProcess newAbstractProcess(); | |
| 33 | ||
| 34 | /** | |
| 35 | * Creates a new process instance. | |
| 36 | * | |
| 37 | * @return A process instance | |
| 38 | */ | |
| 39 | AsyncProcess newAsyncProcess(); | |
| 40 | ||
| 41 | /** | |
| 42 | * Creates a new process instance. | |
| 43 | * | |
| 44 | * @return A process instance | |
| 45 | */ | |
| 46 | DoWhileProcess newDoWhileProcess(); | |
| 47 | ||
| 48 | /** | |
| 49 | * Creates a new process instance. | |
| 50 | * | |
| 51 | * @return A process instance | |
| 52 | */ | |
| 53 | IfThenElseProcess newIfThenElseProcess(); | |
| 54 | ||
| 55 | /** | |
| 56 | * Creates a new process instance. | |
| 57 | * | |
| 58 | * @return A process instance | |
| 59 | */ | |
| 60 | RepeatUntilProcess newRepeatUntilProcess(); | |
| 61 | ||
| 62 | /** | |
| 63 | * Creates a new process instance. | |
| 64 | * | |
| 65 | * @return A process instance | |
| 66 | */ | |
| 67 | SequenceProcess newSequenceProcess(); | |
| 68 | ||
| 69 | /** | |
| 70 | * Creates a new process instance. | |
| 71 | * | |
| 72 | * @return A process instance | |
| 73 | */ | |
| 74 | Service newServiceProcess(); | |
| 75 | ||
| 76 | /** | |
| 77 | * Creates a new process instance. | |
| 78 | * | |
| 79 | * @return A process instance | |
| 80 | */ | |
| 81 | SplitJoinProcess newSplitJoinProcess(); | |
| 82 | ||
| 83 | /** | |
| 84 | * Creates a new process instance. | |
| 85 | * | |
| 86 | * @return A process instance | |
| 87 | */ | |
| 88 | UnorderedListProcess newUnorderedListProcess(); | |
| 89 | ||
| 90 | /** | |
| 91 | * Creates a new process instance. | |
| 92 | * | |
| 93 | * @return A process instance | |
| 94 | */ | |
| 95 | WhileDoProcess newWhileDoProcess(); | |
| 96 | } |