1 23 24 29 30 package com.sun.enterprise.deployment.backend; 31 32 import java.io.File ; 33 34 import com.sun.enterprise.deployment.Application; 35 36 46 public class DeploymentEventInfo 47 { 48 49 private File srcDir; 50 51 52 private File stubsDir; 53 54 55 private File oldStubsDir; 56 57 58 private Application application; 59 60 61 private DeploymentRequest request; 62 63 70 public DeploymentEventInfo(File srcDir, File stubsDir, Application application, 71 DeploymentRequest request) { 72 73 this.srcDir = srcDir; 74 this.stubsDir = stubsDir; 75 this.application = application; 76 this.request = request; 77 this.oldStubsDir = null; 78 79 } 80 81 89 public DeploymentEventInfo(File srcDir, File stubsDir, File oldStubsDir, 90 Application application, DeploymentRequest request) { 91 92 this.srcDir = srcDir; 93 this.stubsDir = stubsDir; 94 this.oldStubsDir = oldStubsDir; 95 this.application = application; 96 this.request = request; 97 98 } 99 100 105 public DeploymentEventInfo(DeploymentRequest request) { 106 this.request = request; 107 } 108 109 110 113 public File getSrcDir() { 114 return srcDir; 115 } 116 117 120 public File getStubsDir() { 121 return stubsDir; 122 } 123 124 127 public File getOldStubsDir() { 128 return oldStubsDir; 129 } 130 131 134 public Application getApplicationDescriptor() { 135 return application; 136 } 137 138 141 public DeploymentRequest getDeploymentRequest() { 142 return request; 143 } 144 145 } 146 | Popular Tags |