diff options
author | Shireesh Anjal <shireesh@gluster.com> | 2011-12-02 16:17:28 +0530 |
---|---|---|
committer | Shireesh Anjal <shireesh@gluster.com> | 2011-12-02 16:17:28 +0530 |
commit | e44722d0e0fc575208e915bad0758ba57605a846 (patch) | |
tree | 9d69cd49c9d8825c8897e82336df17da2a0dccbd /src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java | |
parent | 79a6ad180ed2fa7733ef00265a78db9881584db8 (diff) |
Added copyright notice in all sources.
Diffstat (limited to 'src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java')
-rw-r--r-- | src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java b/src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java index b27bd6f7..46988678 100644 --- a/src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java +++ b/src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/Response.java @@ -1,37 +1,37 @@ /******************************************************************************* - * Copyright (c) 2011 Gluster, Inc. <http://www.gluster.com> + * Copyright (c) 2006-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 + * Gluster Management Console is free software; you can redistribute + * it and/or modify it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see * <http://www.gnu.org/licenses/>. *******************************************************************************/ -package org.gluster.storage.management.core.model;
-
-/**
- * Interface for server response. Any request handled by the Gluster Management
- * Server will result in a response that must be an instance of a class
- * implementing this interface.
- */
+package org.gluster.storage.management.core.model; + +/** + * Interface for server response. Any request handled by the Gluster Management + * Server will result in a response that must be an instance of a class + * implementing this interface. + */ public interface Response<T> { - /**
- * @return Status of request processing
- */
- public Status getStatus();
-
- /**
- * @return Data associated with the response. e.g. A "discover servers"
- * request will return the list of discovered servers.
- */
- public T getData();
-}
+ /** + * @return Status of request processing + */ + public Status getStatus(); + + /** + * @return Data associated with the response. e.g. A "discover servers" + * request will return the list of discovered servers. + */ + public T getData(); +} |