|
1 | 1 | package org.primesoft.asyncworldedit.blockPlacer; |
2 | 2 |
|
3 | | -import org.primesoft.asyncworldedit.blockPlacer.entries.JobEntry; |
4 | | -import java.util.Collection; |
5 | | -import java.util.List; |
6 | | -import java.util.Queue; |
7 | | -import org.primesoft.asyncworldedit.playerManager.PlayerEntry; |
8 | | - |
9 | 3 | /** |
10 | 4 | * Stub for the API to compile |
11 | 5 | * Operation queue player entry |
12 | 6 | * |
13 | 7 | * @author SBPrime |
14 | 8 | */ |
15 | 9 | public class BlockPlacerPlayer { |
16 | | - /** |
17 | | - * Create new player entry |
18 | | - * @param player |
19 | | - */ |
20 | | - public BlockPlacerPlayer(PlayerEntry player) { |
21 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
22 | | - } |
23 | | - |
24 | | - /** |
25 | | - * Maximum number of blocks on queue |
26 | | - * |
27 | | - * @return |
28 | | - */ |
29 | | - public int getMaxQueueBlocks() { |
30 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
31 | | - } |
32 | | - |
33 | | - /** |
34 | | - * Set the maximum number of blocks on queue |
35 | | - * @param val |
36 | | - */ |
37 | | - public void setMaxQueueBlocks(int val) { |
38 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
39 | | - } |
40 | | - |
41 | | - /** |
42 | | - * Get block entries queue |
43 | | - * |
44 | | - * @return |
45 | | - */ |
46 | | - public Queue<BlockPlacerEntry> getQueue() { |
47 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
48 | | - } |
49 | | - |
50 | | - /** |
51 | | - * Change current queue to new queue |
52 | | - * |
53 | | - * @param newQueue |
54 | | - */ |
55 | | - public void updateQueue(Queue<BlockPlacerEntry> newQueue) { |
56 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
57 | | - } |
58 | | - |
59 | | - /** |
60 | | - * Get block placing speed (blocks per second) |
61 | | - * |
62 | | - * @return |
63 | | - */ |
64 | | - public double getSpeed() { |
65 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
66 | | - } |
67 | | - |
68 | | - /** |
69 | | - * Update block placing speed |
70 | | - * |
71 | | - * @param blocks number of blocks |
72 | | - * @param timeDelta time spend |
73 | | - */ |
74 | | - public void updateSpeed(double blocks, long timeDelta) { |
75 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
76 | | - } |
77 | | - |
78 | | - /** |
79 | | - * Get next job id |
80 | | - * |
81 | | - * @return |
82 | | - */ |
83 | | - public int getNextJobId() { |
84 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
85 | | - } |
86 | | - |
87 | | - /** |
88 | | - * Add new job |
89 | | - * |
90 | | - * @param job |
91 | | - * @param force |
92 | | - * @return |
93 | | - */ |
94 | | - public boolean addJob(JobEntry job, boolean force) { |
95 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
96 | | - } |
97 | | - |
98 | | - /** |
99 | | - * Remove job |
100 | | - * |
101 | | - * @param job |
102 | | - */ |
103 | | - public void removeJob(JobEntry job) { |
104 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
105 | | - |
106 | | - } |
107 | | - |
108 | | - /** |
109 | | - * Remove job |
110 | | - * |
111 | | - * @param jobId |
112 | | - */ |
113 | | - public void removeJob(int jobId) { |
114 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
115 | | - } |
116 | | - |
117 | | - /** |
118 | | - * Get all jobs |
119 | | - * |
120 | | - * @return |
121 | | - */ |
122 | | - public Collection<JobEntry> getJobs() { |
123 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
124 | | - } |
125 | | - |
126 | | - /** |
127 | | - * Print jobs message |
128 | | - * |
129 | | - * @param lines |
130 | | - */ |
131 | | - public void printJobs(List<String> lines) { |
132 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
133 | | - } |
134 | | - |
135 | | - /** |
136 | | - * Has any job entries |
137 | | - * |
138 | | - * @return |
139 | | - */ |
140 | | - public boolean hasJobs() { |
141 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
142 | | - } |
143 | | - |
144 | | - /** |
145 | | - * Get job ID |
146 | | - * |
147 | | - * @param jobId job ID |
148 | | - * @return |
149 | | - */ |
150 | | - public JobEntry getJob(int jobId) { |
151 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
152 | | - } |
153 | | - |
154 | | - /** |
155 | | - * Is the player informed about queue overload |
156 | | - * |
157 | | - * @return |
158 | | - */ |
159 | | - public boolean isInformed() { |
160 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
161 | | - } |
162 | | - |
163 | | - /** |
164 | | - * Set isInformed state |
165 | | - * |
166 | | - * @param state |
167 | | - */ |
168 | | - public void setInformed(boolean state) { |
169 | | - throw new UnsupportedOperationException("Not supported yet. This is only a STUB"); |
170 | | - } |
171 | 10 | } |
0 commit comments