• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / rocketmq-dashboard / 200

pending completion
200

Pull #130

travis-ci-com

web-flow
Merge e87e98135 into 86bdb0636
Pull Request #130: Bump snakeyaml from 1.30 to 1.32

2374 of 2869 relevant lines covered (82.75%)

1.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

54.55
/src/main/java/org/apache/rocketmq/dashboard/model/MessagePageTask.java
1
/*
2
 * Licensed to the Apache Software Foundation (ASF) under one or more
3
 * contributor license agreements.  See the NOTICE file distributed with
4
 * this work for additional information regarding copyright ownership.
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
 * (the "License"); you may not use this file except in compliance with
7
 * the License.  You may obtain a copy of the License at
8
 *
9
 *     http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 * See the License for the specific language governing permissions and
15
 * limitations under the License.
16
 */
17
package org.apache.rocketmq.dashboard.model;
18

19
import org.springframework.data.domain.Page;
20

21
import java.util.List;
22

23
public class MessagePageTask {
24
    private Page<MessageView> page;
25
    private List<QueueOffsetInfo> queueOffsetInfos;
26

27
    public MessagePageTask(Page<MessageView> page, List<QueueOffsetInfo> queueOffsetInfos) {
2✔
28
        this.page = page;
2✔
29
        this.queueOffsetInfos = queueOffsetInfos;
2✔
30
    }
2✔
31

32
    public Page<MessageView> getPage() {
33
        return page;
2✔
34
    }
35

36
    public void setPage(Page<MessageView> page) {
37
        this.page = page;
×
38
    }
×
39

40
    public List<QueueOffsetInfo> getQueueOffsetInfos() {
41
        return queueOffsetInfos;
2✔
42
    }
43

44
    public void setQueueOffsetInfos(List<QueueOffsetInfo> queueOffsetInfos) {
45
        this.queueOffsetInfos = queueOffsetInfos;
×
46
    }
×
47

48
    @Override
49
    public String toString() {
50
        return "MessagePageTask{" +
×
51
                "page=" + page +
52
                ", queueOffsetInfos=" + queueOffsetInfos +
53
                '}';
54
    }
55
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc