Coverage Report - org.apache.maven.plugins.patchtracker.patching.PatchRepositoryResult
 
Classes in this File Line Coverage Branch Coverage Complexity
PatchRepositoryResult
0 %
0/26
N/A
1
 
 1  
 package org.apache.maven.plugins.patchtracker.patching;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  *   http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.
 20  
  */
 21  
 
 22  
 import java.io.Serializable;
 23  
 
 24  
 /**
 25  
  * @author Olivier Lamy
 26  
  */
 27  
 public class PatchRepositoryResult
 28  
     implements Serializable
 29  
 {
 30  
     private String title;
 31  
 
 32  
     private String htmlUrl;
 33  
 
 34  
     private String patchUrl;
 35  
 
 36  
     private String description;
 37  
 
 38  
     private String patchContent;
 39  
 
 40  
     public PatchRepositoryResult()
 41  0
     {
 42  
         // no op
 43  0
     }
 44  
 
 45  
     public String getTitle()
 46  
     {
 47  0
         return title;
 48  
     }
 49  
 
 50  
     public PatchRepositoryResult setTitle( String title )
 51  
     {
 52  0
         this.title = title;
 53  0
         return this;
 54  
     }
 55  
 
 56  
     public String getHtmlUrl()
 57  
     {
 58  0
         return htmlUrl;
 59  
     }
 60  
 
 61  
     public PatchRepositoryResult setHtmlUrl( String htmlUrl )
 62  
     {
 63  0
         this.htmlUrl = htmlUrl;
 64  0
         return this;
 65  
     }
 66  
 
 67  
     public String getPatchUrl()
 68  
     {
 69  0
         return patchUrl;
 70  
     }
 71  
 
 72  
     public PatchRepositoryResult setPatchUrl( String patchUrl )
 73  
     {
 74  0
         this.patchUrl = patchUrl;
 75  0
         return this;
 76  
     }
 77  
 
 78  
     public String getDescription()
 79  
     {
 80  0
         return description;
 81  
     }
 82  
 
 83  
     public PatchRepositoryResult setDescription( String description )
 84  
     {
 85  0
         this.description = description;
 86  0
         return this;
 87  
     }
 88  
 
 89  
     public String getPatchContent()
 90  
     {
 91  0
         return patchContent;
 92  
     }
 93  
 
 94  
     public PatchRepositoryResult setPatchContent( String patchContent )
 95  
     {
 96  0
         this.patchContent = patchContent;
 97  0
         return this;
 98  
     }
 99  
 
 100  
     @Override
 101  
     public String toString()
 102  
     {
 103  0
         final StringBuilder sb = new StringBuilder();
 104  0
         sb.append( "PatchRepositoryResult" );
 105  0
         sb.append( "{title='" ).append( title ).append( '\'' );
 106  0
         sb.append( ", htmlUrl='" ).append( htmlUrl ).append( '\'' );
 107  0
         sb.append( ", patchUrl='" ).append( patchUrl ).append( '\'' );
 108  0
         sb.append( ", description='" ).append( description ).append( '\'' );
 109  0
         sb.append( ", patchContent='" ).append( patchContent ).append( '\'' );
 110  0
         sb.append( '}' );
 111  0
         return sb.toString();
 112  
     }
 113  
 }