1 23 package org.openharmonise.rm.resources.content.utils; 24 25 import org.openharmonise.rm.resources.content.*; 26 27 32 public class LinkStatus { 33 34 private Asset asset; 35 private String errorMessage; 36 private String newURL; 37 38 protected LinkStatus(Asset asset, String errorMessage) { 39 this.asset = asset; 40 this.errorMessage = errorMessage; 41 } 42 43 protected LinkStatus(Asset asset, String errorMessage, String newURL) { 44 this(asset, errorMessage); 45 this.newURL = newURL; 46 } 47 48 public Asset getAsset() { 49 return asset; 50 } 51 52 public String getErrorMessage() { 53 return errorMessage; 54 } 55 56 public String getNewURL() { 57 return newURL; 58 } 59 60 public void setNewURL(String newURL) { 61 this.newURL = newURL; 62 } 63 } 64 | Popular Tags |