Class ListVersionsCommand
- java.lang.Object
-
- org.apache.karaf.shell.console.AbstractAction
-
- org.apache.karaf.shell.console.OsgiCommandSupport
-
- org.opennms.netmgt.ticketer.jira.commands.AbstractJiraCommand
-
- org.opennms.netmgt.ticketer.jira.commands.ListVersionsCommand
-
- All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
,org.apache.karaf.shell.api.action.Action
,org.apache.karaf.shell.commands.Action
,org.apache.karaf.shell.console.BundleContextAware
public class ListVersionsCommand extends AbstractJiraCommand implements org.apache.karaf.shell.api.action.Action
This command implements the Apache Karaf 3 and Apache Karaf 4 shell APIs. Once the Karaf 4 commands work, the deprecated Karaf 3 annotations should be removed:
Command
OsgiCommandSupport
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.ticketer.jira.commands.AbstractJiraCommand
DEFAULT_ROW_FORMAT, host, LINE, noAuthentication, password, username
-
-
Constructor Summary
Constructors Constructor Description ListVersionsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(com.atlassian.jira.rest.client.api.JiraRestClient jiraRestClient)
-
Methods inherited from class org.opennms.netmgt.ticketer.jira.commands.AbstractJiraCommand
createJiraClient, doExecute, execute, getConfig, removeNewLines
-
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getAllServices, getBundleContext, getService, getService, setBundleContext, ungetServices
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(com.atlassian.jira.rest.client.api.JiraRestClient jiraRestClient) throws Exception
- Specified by:
doExecute
in classAbstractJiraCommand
- Throws:
Exception
-
-