1package org.apache.archiva.web.model;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021import javax.xml.bind.annotation.XmlRootElement;
22import java.io.Serializable;
2324/**25 * @author Olivier Lamy26 * @since 1.4-M427 */28 @XmlRootElement( name = "javascriptLog" )
29publicclassJavascriptLog30implements Serializable
31 {
3233private String loggerName;
3435private String message;
3637publicJavascriptLog()
38 {
39// no op40 }
4142public String getLoggerName()
43 {
44return loggerName;
45 }
4647publicvoid setLoggerName( String loggerName )
48 {
49this.loggerName = loggerName;
50 }
5152public String getMessage()
53 {
54return message;
55 }
5657publicvoid setMessage( String message )
58 {
59this.message = message;
60 }
6162 @Override
63public String toString()
64 {
65final StringBuilder sb = new StringBuilder();
66 sb.append( "JavascriptLog" );
67 sb.append( "{loggerName='" ).append( loggerName ).append( '\'' );
68 sb.append( ", message='" ).append( message ).append( '\'' );
69 sb.append( '}' );
70return sb.toString();
71 }
72 }