Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.installer / org.gvsig.installer.lib / org.gvsig.installer.lib.impl / src / main / java / org / gvsig / installer / lib / impl / DefaultInstallerInfo.java @ 32285

History | View | Annotate | Download (2.64 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
5
* 
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
* 
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
* GNU General Public License for more details.
15
* 
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
19
* MA  02110-1301, USA.
20
* 
21
*/
22

    
23
/*
24
* AUTHORS (In addition to CIT):
25
* 2010 {Prodevelop}   {Task}
26
*/
27
 
28
package org.gvsig.installer.lib.impl;
29

    
30
import java.io.File;
31
import java.io.InputStream;
32
import java.io.OutputStream;
33

    
34
import org.gvsig.installer.lib.api.InstallerInfo;
35

    
36
/**
37
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
38
 */
39
public class DefaultInstallerInfo implements InstallerInfo{
40
        protected String code = null;
41
        protected String name = null;
42
        protected String description = null;
43
        protected String version = "0.0.1";
44
        protected int build = 0;
45
        protected String state = "Testing";
46
        protected boolean official;
47

    
48
        public String getCode() {
49
                return code;
50
        }
51
        
52
        public String getName() {
53
                return name;
54
        }
55
        
56
        public String getDescription() {
57
                return description;
58
        }
59

    
60
        public String getVersion() {
61
                return version;
62
        }
63

    
64
        public int getBuild() {
65
                return build;
66
        }
67

    
68
        public String getState() {
69
                return state;
70
        }
71

    
72
        public boolean isOfficial() {
73
                return official;
74
        }
75
        
76
        public void setCode(String code) {
77
                this.code = code;
78
        }        
79
        
80
        public void setName(String name) {
81
                this.name = name;
82
        }
83
        
84
        public void setDescription(String description) {
85
                this.description = description;
86
        }
87
        
88
        public void setVersion(String version) {
89
                this.version = version;
90
        }
91
        
92
        public void setBuild(int build) {
93
                this.build = build;
94
        }
95
        
96
        public void setState(String state) {
97
                this.state = state;
98
        }
99

    
100
        public void setOfficial(boolean official) {
101
                this.official = official;
102
        }
103

    
104
        public void addFileToCopy(File file) {
105
                // TODO Auto-generated method stub
106
                
107
        }
108

    
109
        public File getFileToCopyAt(int index) {
110
                // TODO Auto-generated method stub
111
                return null;
112
        }
113

    
114
        public int getFileToCopySize() {
115
                // TODO Auto-generated method stub
116
                return 0;
117
        }
118

    
119
        public void removeFileToCopy(int index) {
120
                // TODO Auto-generated method stub
121
                
122
        }
123

    
124
}
125