public abstract class AbstractJiraCommand
extends org.apache.karaf.shell.console.OsgiCommandSupport
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
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_ROW_FORMAT |
String |
host |
protected static String |
LINE |
boolean |
noAuthentication |
String |
password |
String |
username |
Constructor and Description |
---|
AbstractJiraCommand() |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.jira.rest.client.api.JiraRestClient |
createJiraClient() |
protected Object |
doExecute()
Deprecated.
|
protected abstract void |
doExecute(com.atlassian.jira.rest.client.api.JiraRestClient jiraRestClient) |
Object |
execute() |
protected Config |
getConfig() |
protected static String |
removeNewLines(String input) |
protected static final String LINE
protected static final String DEFAULT_ROW_FORMAT
public String host
public String username
public String password
public boolean noAuthentication
protected com.atlassian.jira.rest.client.api.JiraRestClient createJiraClient() throws PluginException
PluginException
@Deprecated protected final Object doExecute() throws Exception
doExecute
in class org.apache.karaf.shell.console.AbstractAction
Exception
protected Config getConfig()
protected abstract void doExecute(com.atlassian.jira.rest.client.api.JiraRestClient jiraRestClient) throws Exception
Exception
Copyright © 2021. All rights reserved.