]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcNames.java
+ fix bugs before release
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / main / java / org / argeo / slc / jcr / SlcNames.java
index 25cc780d6cce21a08b61d51902169c0b720e865c..9e915984a14b89616fe0cf2d60ee59679c7fc83c 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.argeo.slc.jcr;
 
 /** JCR names used by SLC */
@@ -6,11 +21,23 @@ public interface SlcNames {
 
        public final static String SLC_UUID = "slc:uuid";
        public final static String SLC_STATUS = "slc:status";
+       // generic name for result parts of a given test result (slc:testResult)
+       // note that corresponding nodes can be retrieved using
+       // myTestResultNode.getNodes(SLC_RESULT_PART+"*") method
+       public final static String SLC_RESULT_PART = "slc:resultPart";
+       // Fixed name of the child node of a slc:testResult of type
+       // slc:check that aggregate status of all result parts of a given test
+       // result
+       public final static String SLC_AGGREGATED_STATUS = "slc:aggregatedStatus";
+       
+       
+       
        public final static String SLC_TYPE = "slc:type";
        public final static String SLC_NAME = "slc:name";
        public final static String SLC_VERSION = "slc:version";
        public final static String SLC_VALUE = "slc:value";
        public final static String SLC_ADDRESS = "slc:address";
+       public final static String SLC_METADATA = "slc:metadata";
 
        public final static String SLC_STARTED = "slc:started";
        public final static String SLC_COMPLETED = "slc:completed";
@@ -26,11 +53,23 @@ public interface SlcNames {
        public final static String SLC_IS_CONSTANT = "slc:isConstant";
        public final static String SLC_IS_HIDDEN = "slc:isHidden";
 
+       // base directories
+       public final static String SLC_SYSTEM = "slc:system";
+       public final static String SLC_RESULTS = "slc:results";
+       public final static String SLC_MY_RESULTS = "slc:myResults";
+       public final static String SLC_PROCESSES = "slc:processes";
+
        // result
        public final static String SLC_SUCCESS = "slc:success";
        public final static String SLC_MESSAGE = "slc:message";
        public final static String SLC_TAG = "slc:tag";
        public final static String SLC_ERROR_MESSAGE = "slc:errorMessage";
+       public final static String SLC_TEST_CASE = "slc:testCase";
+       public final static String SLC_TEST_CASE_TYPE = "slc:testCaseType";
+
+       // diff result
+       public final static String SLC_SUMMARY = "slc:summary";
+       public final static String SLC_ISSUES = "slc:issues";
 
        /*
         * REPO
@@ -40,9 +79,14 @@ public interface SlcNames {
        public final static String SLC_OPTIONAL = "slc:optional";
        public final static String SLC_AS_STRING = "slc:asString";
 
+       // origin
+       public final static String SLC_ORIGIN = "slc:origin";
+       public final static String SLC_PROXY = "slc:proxy";
+
        // slc:artifact
        public final static String SLC_ARTIFACT_ID = "slc:artifactId";
        public final static String SLC_GROUP_ID = "slc:groupId";
+       public final static String SLC_GROUP_BASE_ID = "slc:groupBaseId";
        public final static String SLC_ARTIFACT_VERSION = "slc:artifactVersion";
        public final static String SLC_ARTIFACT_EXTENSION = "slc:artifactExtension";
        public final static String SLC_ARTIFACT_CLASSIFIER = "slc:artifactClassifier";