You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/03/10 11:10:55 UTC

[3/3] stratos git commit: Changed List-application-policies command

Changed List-application-policies command


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

Branch: refs/heads/master
Commit: 1e79490e4d0ac58ef2d66eb38bd1872d14767fe8
Parents: 60384b1
Author: Dinithi <di...@wso2.com>
Authored: Tue Mar 10 15:32:52 2015 +0530
Committer: Dinithi <di...@wso2.com>
Committed: Tue Mar 10 15:32:52 2015 +0530

----------------------------------------------------------------------
 .../stratos/cli/commands/ListApplicationPoliciesCommand.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/1e79490e/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ListApplicationPoliciesCommand.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ListApplicationPoliciesCommand.java b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ListApplicationPoliciesCommand.java
index c12adc1..a17ab12 100644
--- a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ListApplicationPoliciesCommand.java
+++ b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ListApplicationPoliciesCommand.java
@@ -19,6 +19,7 @@
 
 package org.apache.stratos.cli.commands;
 
+import org.apache.commons.cli.Option;
 import org.apache.commons.cli.Options;
 import org.apache.stratos.cli.Command;
 import org.apache.stratos.cli.RestCommandLineService;
@@ -46,7 +47,7 @@ public class ListApplicationPoliciesCommand implements Command<StratosCommandCon
         return null;
     }
 
-    public int execute(StratosCommandContext context, String[] args) throws CommandException {
+    public int execute(StratosCommandContext context, String[] args,Option[] already_parsed_opts) throws CommandException {
         if (logger.isDebugEnabled()) {
             logger.debug("Executing {} command...", getName());
         }