-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathXapiClientConstants.java
More file actions
62 lines (44 loc) · 1.86 KB
/
Copy pathXapiClientConstants.java
File metadata and controls
62 lines (44 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Copyright 2016-2025 Berry Cloud Ltd. All rights reserved.
*/
package dev.learning.xapi.client;
/**
* Constants used across xAPI client request classes.
*
* @author István Rátkai (Selindek)
*/
final class XapiClientConstants {
/** Query parameter name for activityId. */
static final String ACTIVITY_ID_PARAM = "activityId";
/** URI template variable for activityId. */
static final String ACTIVITY_ID_TEMPLATE = "{activityId}";
/** Query parameter name for profileId. */
static final String PROFILE_ID_PARAM = "profileId";
/** URI template variable for profileId. */
static final String PROFILE_ID_TEMPLATE = "{profileId}";
/** Path segment for statements resource. */
static final String STATEMENTS_PATH = "/statements";
/** Path segment for activities resource. */
static final String ACTIVITIES_PATH = "/activities";
/** Path segment for activities profile resource. */
static final String ACTIVITIES_PROFILE_PATH = "/activities/profile";
/** Path segment for activities state resource. */
static final String ACTIVITIES_STATE_PATH = "/activities/state";
/** Path segment for agents profile resource. */
static final String AGENTS_PROFILE_PATH = "/agents/profile";
/** Query parameter name for agent. */
static final String AGENT_PARAM = "agent";
/** URI template variable for agent. */
static final String AGENT_TEMPLATE = "{agent}";
/** Query parameter name for registration. */
static final String REGISTRATION_PARAM = "registration";
/** Query parameter name for stateId. */
static final String STATE_ID_PARAM = "stateId";
/** URI template variable for stateId. */
static final String STATE_ID_TEMPLATE = "{stateId}";
/** Query parameter name for attachments. */
static final String ATTACHMENTS_PARAM = "attachments";
private XapiClientConstants() {
// Private constructor to prevent instantiation
}
}