X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.jcr%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fjcr%2FSlcNames.java;h=b0f12702fdcbc878c3a3c76a30c6cbea28afedae;hb=f86db0937b395c7fa96fa4bf4a29cc2c676fe3f5;hp=70319037f20ddf220f780a539b5d83125a98e274;hpb=0214b0b8cd66e15c68dc1b0a14f110c05a9a0062;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcNames.java b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcNames.java index 70319037f..b0f12702f 100644 --- a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcNames.java +++ b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcNames.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Mathieu Baudier + * 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. @@ -15,35 +15,58 @@ */ package org.argeo.slc.jcr; - /** JCR names used by SLC */ public interface SlcNames { public final static String SLC_ = "slc:"; + /* + * GENERAL + */ 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_TIMESTAMP = "slc:timestamp"; public final static String SLC_STARTED = "slc:started"; public final static String SLC_COMPLETED = "slc:completed"; + public final static String SLC_VM = "slc:vm"; + /* + * SLC RUNTIME + */ + // execution public final static String SLC_SPEC = "slc:spec"; public final static String SLC_EXECUTION_SPECS = "slc:executionSpecs"; public final static String SLC_FLOW = "slc:flow"; public final static String SLC_LOG = "slc:log"; - public final static String SLC_TIMESTAMP = "slc:timestamp"; + public final static String SLC_AGENTS = "slc:agents"; // spec attribute public final static String SLC_IS_IMMUTABLE = "slc:isImmutable"; public final static String SLC_IS_CONSTANT = "slc:isConstant"; public final static String SLC_IS_HIDDEN = "slc:isHidden"; - // result + // 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"; @@ -54,9 +77,9 @@ public interface SlcNames { // diff result public final static String SLC_SUMMARY = "slc:summary"; public final static String SLC_ISSUES = "slc:issues"; - + /* - * REPO + * SLC REPO */ // shared public final static String SLC_URL = "slc:url";