%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.jetspeed.statistics.impl.PortletLogRecord |
|
|
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.jetspeed.statistics.impl; |
|
18 | ||
19 | /** |
|
20 | * PortletLogRecord |
|
21 | * <P> |
|
22 | * Extends the abstract class LogRecord to holds the fields of a Portlet Access |
|
23 | * log entry. |
|
24 | * |
|
25 | * @author <a href="mailto:rklein@bluesunrise.com">Richard D. Klein </a> |
|
26 | * @version $Id: LogRecord.java 188420 2005-03-23 22:25:50Z rdk $ |
|
27 | */ |
|
28 | public class PortletLogRecord extends LogRecord |
|
29 | { |
|
30 | ||
31 | 0 | protected String portletName = null; |
32 | ||
33 | 0 | protected String pagePath = null; |
34 | ||
35 | public PortletLogRecord() |
|
36 | { |
|
37 | 0 | super(LogRecord.TYPE_PORTLET); |
38 | 0 | } |
39 | ||
40 | /** |
|
41 | * @return Returns the pagePath. |
|
42 | */ |
|
43 | public String getPagePath() |
|
44 | { |
|
45 | 0 | return pagePath; |
46 | } |
|
47 | ||
48 | /** |
|
49 | * @param pagePath |
|
50 | * The pagePath to set. |
|
51 | */ |
|
52 | public void setPagePath(String pagePath) |
|
53 | { |
|
54 | 0 | this.pagePath = pagePath; |
55 | 0 | } |
56 | ||
57 | /** |
|
58 | * @return Returns the portletName. |
|
59 | */ |
|
60 | public String getPortletName() |
|
61 | { |
|
62 | 0 | return portletName; |
63 | } |
|
64 | ||
65 | /** |
|
66 | * @param portletName |
|
67 | * The portletName to set. |
|
68 | */ |
|
69 | public void setPortletName(String portletName) |
|
70 | { |
|
71 | 0 | this.portletName = portletName; |
72 | 0 | } |
73 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |