diff options
author | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-11-25 05:56:36 -0800 |
---|---|---|
committer | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-11-25 05:56:36 -0800 |
commit | 92c52d8edf285945d31e446503fc742fde9dcc49 (patch) | |
tree | 5789d783a07bfaf883d7e589f42c27987dc0432f /src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/response | |
parent | 45e68b0cae66c4e67098bfab5877c172ed8c584e (diff) | |
parent | 229ef07aa2235d92e41c3880099b1257ce0f30fd (diff) |
Merge pull request #7 from Selvasundaram/master
Disk Initialization enhanced with user selectable file system and mount point
Diffstat (limited to 'src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/response')
-rw-r--r-- | src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/response/FsTypeListResponse.java | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/response/FsTypeListResponse.java b/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/response/FsTypeListResponse.java new file mode 100644 index 00000000..0235fa5f --- /dev/null +++ b/src/com.gluster.storage.management.core/src/com/gluster/storage/management/core/response/FsTypeListResponse.java @@ -0,0 +1,47 @@ +/** + * FsTypesListResponse.java + * + * Copyright (c) 2011 Gluster, Inc. <http://www.gluster.com> + * This file is part of Gluster Management Console. + * + * Gluster Management Console is free software; you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Gluster Management Console is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License + * for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see + * <http://www.gnu.org/licenses/>. + */ +package com.gluster.storage.management.core.response; + +import java.util.List; + +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; + +@XmlRootElement(name = "fsTypes") +public class FsTypeListResponse { + private List<String> fsTypes; + + public FsTypeListResponse() { + } + + public FsTypeListResponse(List<String> fsTypes) { + setFsTypes(fsTypes); + } + + @XmlElement(name = "fsType", type=String.class) + public List<String> getFsTypes() { + return fsTypes; + } + + public void setFsTypes(List<String> fsTypes) { + this.fsTypes = fsTypes; + } +} |