Updated Branches:
  refs/heads/master 4b63fc9fd -> f803d82df

Add comments to CLI


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

Branch: refs/heads/master
Commit: f803d82dfc9d080d06befb08045a6a1a9b333e7c
Parents: 4b63fc9
Author: Manula Thantriwatte <[email protected]>
Authored: Wed Dec 18 11:19:31 2013 +0530
Committer: Manula Thantriwatte <[email protected]>
Committed: Wed Dec 18 11:19:31 2013 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/stratos/cli/RestCommandLineService.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f803d82d/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
 
b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
index 3c3ab8f..6ffb80c 100644
--- 
a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
+++ 
b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
@@ -759,6 +759,7 @@ public class RestCommandLineService {
         }
     }
 
+    // This method list deployment policies
     public void listDeploymentPolicies() throws CommandException {
         try {
             HttpResponse response = 
restClientService.doGet(restClientService.getUrl() + 
listDeploymentPolicyRestEndPoint,
@@ -807,6 +808,7 @@ public class RestCommandLineService {
         }
     }
 
+    // This class convert JSON string to deploymentpolicylist object
     private class DeploymentPolicyList {
         private ArrayList<DeploymentPolicy> deploymentPolicy;
 

Reply via email to