Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BindingStage |
|
| 0.0;0 |
1 | package org.apache.onami.autobind.install; | |
2 | ||
3 | /* | |
4 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
5 | * contributor license agreements. See the NOTICE file distributed with | |
6 | * this work for additional information regarding copyright ownership. | |
7 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
8 | * (the "License"); you may not use this file except in compliance with | |
9 | * the License. You may obtain a copy of the License at | |
10 | * | |
11 | * http://www.apache.org/licenses/LICENSE-2.0 | |
12 | * | |
13 | * Unless required by applicable law or agreed to in writing, software | |
14 | * distributed under the License is distributed on an "AS IS" BASIS, | |
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
16 | * See the License for the specific language governing permissions and | |
17 | * limitations under the License. | |
18 | */ | |
19 | ||
20 | import java.util.LinkedList; | |
21 | import java.util.List; | |
22 | ||
23 | 0 | public enum BindingStage |
24 | { | |
25 | ||
26 | 0 | INTERNAL, |
27 | 0 | BOOT_BEFORE, |
28 | 0 | BOOT, |
29 | 0 | BOOT_POST, |
30 | 0 | BINDING_BEFORE, |
31 | 0 | BINDING, |
32 | 0 | BINDING_POST, |
33 | 0 | INSTALL_BEFORE, |
34 | 0 | INSTALL, |
35 | 0 | INSTALL_POST, |
36 | 0 | BUILD_BEFORE, |
37 | 0 | BUILD, |
38 | 0 | BUILD_POST, |
39 | 0 | IGNORE; |
40 | ||
41 | 0 | public static final List<BindingStage> ORDERED = new LinkedList<BindingStage>(); |
42 | ||
43 | static | |
44 | { | |
45 | 0 | ORDERED.add( INTERNAL ); |
46 | 0 | ORDERED.add( BOOT_BEFORE ); |
47 | 0 | ORDERED.add( BOOT ); |
48 | 0 | ORDERED.add( BOOT_POST ); |
49 | 0 | ORDERED.add( BINDING_BEFORE ); |
50 | 0 | ORDERED.add( BINDING ); |
51 | 0 | ORDERED.add( BINDING_POST ); |
52 | 0 | ORDERED.add( INSTALL_BEFORE ); |
53 | 0 | ORDERED.add( INSTALL ); |
54 | 0 | ORDERED.add( INSTALL_POST ); |
55 | 0 | ORDERED.add( BUILD_BEFORE ); |
56 | 0 | ORDERED.add( BUILD ); |
57 | 0 | ORDERED.add( BUILD_POST ); |
58 | 0 | } |
59 | ||
60 | } |