blob: 271ce4fe501de7b56c4ce3ec2263e74d6d31c108 [file] [log] [blame]
jaegonkim6a7b5242018-09-12 23:09:42 +09001/*
2 * Copyright 2018-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.workflow.api;
17
18/**
19 * Common data model tree path.
20 */
21public interface DataModelPointer {
22
23 /**
24 * Workplace array pointer.
25 */
26 String WORKPLACES_PTR = "/workplaces";
27
28 /**
29 * Workplace name pointer.
30 */
31 String WORKPLACE_NAME_PTR = "/name";
32
33 /**
34 * Workplace data pointer.
35 */
36 String WORKPLACE_DATA_PTR = "/data";
37
38 /**
39 * Workplace workflow pointer.
40 */
41 String WORKPLACE_WORKFLOWS_PTR = "/workflows";
42
43 /**
44 * Workflow op pointer.
45 */
46 String WORKFLOW_OP_PTR = "/op";
47
48 /**
49 * Workflow id pointer.
50 */
51 String WORKFLOW_ID_PTR = "/id";
52
53 /**
54 * Workflow data pointer.
55 */
56 String WORKFLOW_DATA_PTR = "/data";
57
58 /**
59 * Gets path string.
60 * @return path string
61 */
62 String getPath();
63}
64