1 8 package org.apache.avalon.phoenix.components.deployer.installer; 9 10 import java.io.File ; 11 12 21 public final class Installation 22 { 23 private final File m_source; 25 26 private final File m_directory; 28 29 private final File m_workDirectory; 31 32 private final String m_config; 34 35 private final String m_assembly; 37 38 private final String m_environment; 40 41 private final String [] m_classPath; 43 44 private final FileDigest[] m_digests; 46 47 private final long m_timestamp; 49 50 public Installation( final File source, 51 final File directory, 52 final File workDirectory, 53 final String config, 54 final String assembly, 55 final String environment, 56 final String [] classPath, 57 final FileDigest[] digests, 58 final long timestamp ) 59 { 60 m_source = source; 61 m_directory = directory; 62 m_workDirectory = workDirectory; 63 m_config = config; 64 m_assembly = assembly; 65 m_environment = environment; 66 m_classPath = classPath; 67 m_digests = digests; 68 m_timestamp = timestamp; 69 } 70 71 77 public File getSource() 78 { 79 return m_source; 80 } 81 82 87 public File getDirectory() 88 { 89 return m_directory; 90 } 91 92 98 public File getWorkDirectory() 99 { 100 return m_workDirectory; 101 } 102 103 108 public String getConfig() 109 { 110 return m_config; 111 } 112 113 118 public String getAssembly() 119 { 120 return m_assembly; 121 } 122 123 128 public String getEnvironment() 129 { 130 return m_environment; 131 } 132 133 138 public String [] getClassPath() 139 { 140 return m_classPath; 141 } 142 143 147 public FileDigest[] getFileDigests() 148 { 149 return m_digests; 150 } 151 152 156 public long getTimestamp() 157 { 158 return m_timestamp; 159 } 160 } 161 | Popular Tags |