View Javadoc

1   package org.apache.continuum.web.util;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  /**
23   * @author Jevica Arianne B. Zurbano
24   * @version $Id: AuditLogConstants.java
25   * @since 09 apr 09
26   */
27  public class AuditLogConstants
28  {
29      public static final String PROJECT = "PROJECT";
30  
31      public static final String SCHEDULE = "BUILD_SCHEDULE";
32  
33      public static final String TEMPLATE = "BUILD_TEMPLATE";
34  
35      public static final String BUILD_DEFINITION = "BUILD_DEFINITION";
36  
37      public static final String PROJECT_GROUP = "PROJECT_GROUP";
38  
39      public static final String BUILD_RESULT = "BUILD_RESULT";
40  
41      public static final String BUILD_QUEUE = "BUILD_QUEUE";
42  
43      public static final String BUILD_AGENT = "BUILD_AGENT";
44  
45      public static final String LOCAL_REPOSITORY = "LOCAL_REPOSITORY";
46  
47      public static final String DIRECTORY = "DIRECTORY";
48  
49      // events
50      public static final String FORCE_BUILD = "Forced Project Build";
51  
52      public static final String CANCEL_BUILD = "Cancelled Project Build";
53  
54      public static final String CI_BUILD = "Scheduled Project Build";
55  
56      public static final String PREPARE_RELEASE = "Prepare Project Release";
57  
58      public static final String PERFORM_RELEASE = "Perform Project Release";
59  
60      public static final String ROLLBACK_RELEASE = "Rollback Project Release";
61  
62      public static final String ADD_M2_PROJECT = "Added M2 Project";
63  
64      public static final String ADD_M2_PROJECT_FAILED = "Failed Adding M2 Project";
65  
66      public static final String ADD_M1_PROJECT = "Added M1 Project";
67  
68      public static final String ADD_M1_PROJECT_FAILED = "Failed Adding M1 Project";
69  
70      public static final String ADD_PROJECT = "Added Project";
71  
72      public static final String MODIFY_PROJECT = "Modified Project";
73  
74      public static final String REMOVE_PROJECT = "Removed Project";
75  
76      public static final String ADD_PROJECT_GROUP = "Added Project Group";
77  
78      public static final String MODIFY_PROJECT_GROUP = "Modified Project Group";
79  
80      public static final String REMOVE_PROJECT_GROUP = "Removed Project Group";
81  
82      public static final String MODIFY_SCHEDULE = "Modified Build Schedule";
83  
84      public static final String ADD_SCHEDULE = "Added Build Schedule";
85  
86      public static final String REMOVE_SCHEDULE = "Removed Build Schedule";
87  
88      public static final String ADD_GOAL = "Added Build Definition";
89  
90      public static final String MODIFY_GOAL = "Modified Build Definition";
91  
92      public static final String REMOVE_GOAL = "Removed Build Definition";
93  
94      public static final String ADD_TEMPLATE = "Added Build Definition Template";
95  
96      public static final String MODIFY_TEMPLATE = "Modified Build Definition Template";
97  
98      public static final String REMOVE_TEMPLATE = "Removed Build Definition Template";
99  
100     public static final String REMOVE_BUILD_RESULT = "Removed Build Result";
101 
102     public static final String ADD_BUILD_QUEUE = "Added Build Queue";
103 
104     public static final String REMOVE_BUILD_QUEUE = "Removed Build Queue";
105 
106     public static final String PURGE_LOCAL_REPOSITORY = "Purged Local Repository";
107 
108     public static final String PURGE_DIRECTORY_RELEASES = "Purged Releases Directory";
109 
110     public static final String PURGE_DIRECTORY_BUILDOUTPUT = "Purged Build Output Directory";
111 
112     public static final String ADD_BUILD_AGENT = "Added Build Agent";
113 
114     public static final String ADD_BUILD_AGENT_GROUP = "Added Build Agent Group";
115 
116     public static final String MODIFY_BUILD_AGENT = "Modified Build Agent";
117 
118     public static final String MODIFY_BUILD_AGENT_GROUP = "Modified Build Agent Group";
119 
120     public static final String REMOVE_BUILD_AGENT = "Removed Build Agent";
121 
122     public static final String REMOVE_BUILD_AGENT_GROUP = "Removed Build Agent Group";
123 }
124