This project has retired. For details please refer to its Attic page.
JcrConstants xref
View Javadoc
1   package org.apache.archiva.metadata.repository.jcr;
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  import java.time.ZoneId;
23  
24  /**
25   * Node types and properties defined in the schema.
26   *
27   * @author Martin Stockhammer <martin_s@apache.org>
28   */
29  public interface JcrConstants
30  {
31  
32  
33  
34      String BASE_NODE_TYPE = "archiva:base";
35      String CONTENT_NODE_TYPE = "archiva:content";
36      String NAMESPACE_MIXIN_TYPE = "archiva:namespace";
37      String PROJECT_MIXIN_TYPE = "archiva:project";
38      String PROJECT_VERSION_NODE_TYPE = "archiva:projectVersion";
39      String ARTIFACT_NODE_TYPE = "archiva:artifact";
40      String REPOSITORY_NODE_TYPE = "archiva:repository";
41      String FACET_NODE_TYPE = "archiva:facet";
42      String MIXIN_META_SCM = "archiva:meta_scm";
43      String MIXIN_META_CI = "archiva:meta_ci";
44      String MIXIN_META_ISSUE = "archiva:meta_issue";
45      String MIXIN_META_ORGANIZATION = "archiva:meta_organization";
46      String MAILINGLIST_NODE_TYPE = "archiva:mailinglist";
47      String MAILINGLISTS_FOLDER_TYPE = "archiva:mailinglists";
48      String LICENSES_FOLDER_TYPE = "archiva:licenses";
49      String LICENSE_NODE_TYPE = "archiva:license";
50      String DEPENDENCY_NODE_TYPE = "archiva:dependency";
51      String DEPENDENCIES_FOLDER_TYPE = "archiva:dependencies";
52      String CHECKSUM_NODE_TYPE = "archiva:checksum";
53      String CHECKSUMS_FOLDER_TYPE = "archiva:checksums";
54      String FACETS_FOLDER_TYPE = "archiva:facets";
55      String FACET_ID_CONTAINER_TYPE = "archiva:facetIdContainer";
56      String FOLDER_TYPE = "archiva:folder";
57  
58      // Must be alphabetically ordered!
59      String[] PROJECT_VERSION_VERSION_PROPERTIES = {"ci.system","ci.url", "description", "incomplete", "issue.system","issue.url", "name", "org.name", "org.url", "url", "scm.connection", "scm.developerConnection", "scm.url"};
60  }