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
63
64
65
66
67
68
69 | package Torello.Browser.BrowserAPI.NestedHelpers.Commands;
import static Torello.Browser.CDPTypes.*; // The 'Type as Byte' constants
import Torello.JSON.*;
import Torello.Browser.BrowserAPI.*;
import Torello.Browser.Domains;
import Torello.Browser.CommandDescriptor;
import Torello.Browser.helper.DV;
import Torello.Java.ReadOnly.ReadOnlyArrayList;
import javax.json.JsonObject;
import javax.json.JsonValue; // Not all helpers require this
import Torello.Browser.JavaScriptAPI.RunTime;
import Torello.Browser.JavaScriptAPI.Debugger;
public class Extensions$$Commands
{
// ********************************************************************************************
// ********************************************************************************************
// Command Descriptors
// ********************************************************************************************
// ********************************************************************************************
public static final CommandDescriptor<Void> clearStorageItems$$=
new CommandDescriptor<>(
"clearStorageItems", Domains.Extensions,
new ReadOnlyArrayList<>(String.class, "id", "storageArea"),
new ReadOnlyArrayList<>(Byte.class, STRING, STRING),
new ReadOnlyArrayList<>(Boolean.class, false, false),
new ReadOnlyArrayList<>(Boolean.class, false, false),
Void.class
);
public static final CommandDescriptor<JsonValue> getStorageItems$$=
new CommandDescriptor<>(
"getStorageItems", Domains.Extensions,
new ReadOnlyArrayList<>(String.class, "id", "storageArea", "keys"),
new ReadOnlyArrayList<>(Byte.class, STRING, STRING, STRING_ARRAY_1D),
new ReadOnlyArrayList<>(Boolean.class, false, false, true),
new ReadOnlyArrayList<>(Boolean.class, false, false, false),
JsonValue.class
);
public static final CommandDescriptor<Void> removeStorageItems$$=
new CommandDescriptor<>(
"removeStorageItems", Domains.Extensions,
new ReadOnlyArrayList<>(String.class, "id", "storageArea", "keys"),
new ReadOnlyArrayList<>(Byte.class, STRING, STRING, STRING_ARRAY_1D),
new ReadOnlyArrayList<>(Boolean.class, false, false, false),
new ReadOnlyArrayList<>(Boolean.class, false, false, false),
Void.class
);
public static final CommandDescriptor<Void> setStorageItems$$=
new CommandDescriptor<>(
"setStorageItems", Domains.Extensions,
new ReadOnlyArrayList<>(String.class, "id", "storageArea", "values"),
new ReadOnlyArrayList<>(Byte.class, STRING, STRING, RAW_JSON_VALUE),
new ReadOnlyArrayList<>(Boolean.class, false, false, false),
new ReadOnlyArrayList<>(Boolean.class, false, false, false),
Void.class
);
}
|