incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [8/8] git commit: api: Introduce name field which would hold the OTW api command name
Date Wed, 26 Dec 2012 23:57:24 GMT
Updated Branches:
  refs/heads/api_refactoring a18464dbe -> b8369b808


api: Introduce name field which would hold the OTW api command name

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/b8369b80
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/b8369b80
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/b8369b80

Branch: refs/heads/api_refactoring
Commit: b8369b808e4757c6442fd74092df375c095e89a5
Parents: 7a7fe58
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Dec 26 15:56:14 2012 -0800
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Dec 26 15:56:14 2012 -0800

----------------------------------------------------------------------
 api/src/org/apache/cloudstack/api/APICommand.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b8369b80/api/src/org/apache/cloudstack/api/APICommand.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/APICommand.java b/api/src/org/apache/cloudstack/api/APICommand.java
index 7c185b1..4d024c1 100644
--- a/api/src/org/apache/cloudstack/api/APICommand.java
+++ b/api/src/org/apache/cloudstack/api/APICommand.java
@@ -27,6 +27,8 @@ import java.lang.annotation.Target;
 public @interface APICommand {
     Class<? extends BaseResponse> responseObject();
 
+    String name() default "";
+
     String description() default "";
 
     String usage() default "";


Mime
View raw message