1 20 package org.apache.cactus.integration.ant.deployment; 21 22 import java.io.File ; 23 24 import org.apache.cactus.integration.ant.deployment.webapp.WarArchive; 25 26 33 public abstract class AbstractDeployableFile 34 implements DeployableFile, Cloneable 35 { 36 39 protected File deployableFile; 40 41 45 protected WarArchive warArchive; 46 47 50 protected String testContext; 51 52 56 protected String servletRedirectorMapping; 57 58 62 protected String filterRedirectorMapping; 63 64 68 protected String jspRedirectorMapping; 69 70 73 public final File getFile() 74 { 75 return this.deployableFile; 76 } 77 78 81 public final void setFile(File theDeployableFile) 82 { 83 this.deployableFile = theDeployableFile; 84 } 85 86 89 public final String getTestContext() 90 { 91 return this.testContext; 92 } 93 94 97 public final void setTestContext(String theTestContext) 98 { 99 this.testContext = theTestContext; 100 } 101 102 105 public final String getServletRedirectorMapping() 106 { 107 return this.servletRedirectorMapping; 108 } 109 110 113 public final void setServletRedirectorMapping(String theMapping) 114 { 115 this.servletRedirectorMapping = theMapping; 116 } 117 118 121 public final String getFilterRedirectorMapping() 122 { 123 return this.filterRedirectorMapping; 124 } 125 126 129 public final void setFilterRedirectorMapping(String theMapping) 130 { 131 this.filterRedirectorMapping = theMapping; 132 } 133 134 137 public final String getJspRedirectorMapping() 138 { 139 return this.jspRedirectorMapping; 140 } 141 142 145 public final void setJspRedirectorMapping(String theMapping) 146 { 147 this.jspRedirectorMapping = theMapping; 148 } 149 150 153 public final WarArchive getWarArchive() 154 { 155 return this.warArchive; 156 } 157 158 161 public Object clone() throws CloneNotSupportedException 162 { 163 AbstractDeployableFile file = (AbstractDeployableFile) super.clone(); 164 file.deployableFile = this.deployableFile; 165 file.warArchive = this.warArchive; 166 file.testContext = this.testContext; 167 file.servletRedirectorMapping = this.servletRedirectorMapping; 168 file.filterRedirectorMapping = this.filterRedirectorMapping; 169 file.jspRedirectorMapping = this.jspRedirectorMapping; 170 return file; 171 } 172 173 176 public final void setWarArchive(WarArchive theWarArchive) 177 { 178 this.warArchive = theWarArchive; 179 } 180 181 } 182 | Popular Tags |