2 * jSite2 - Project.java -
3 * Copyright © 2008 David Roden
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 package net.pterodactylus.jsite.core;
23 * Container for project information.
25 * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
28 public class Project {
30 /** The name of the project. */
33 /** The local path of the project. */
34 private String localPath;
36 /** The public key. */
37 private String publicKey;
39 /** The private key. */
40 private String privateKey;
43 * Returns the name of the project.
45 * @return The name of the project
47 public String getName() {
52 * Sets the name of the project.
55 * The name of the project
57 public void setName(String name) {
62 * Returns the local path of the project.
64 * @return The local path of the project
66 public String getLocalPath() {
71 * Sets the local path of the project.
74 * The local path of the project
76 public void setLocalPath(String localPath) {
77 this.localPath = localPath;
81 * Returns the public key of the project.
83 * @return The public key of the project
85 public String getPublicKey() {
90 * Sets the public key of the project.
93 * The public key of the project
95 public void setPublicKey(String publicKey) {
96 this.publicKey = publicKey;
100 * Returns the private key of the project.
102 * @return The private key of the project
104 public String getPrivateKey() {
109 * Sets the private key of the project.
112 * The private key of the project
114 public void setPrivateKey(String privateKey) {
115 this.privateKey = privateKey;