public abstract class EnsembleCommandSupport
extends org.apache.karaf.shell.console.OsgiCommandSupport
| Modifier and Type | Field and Description |
|---|---|
protected ZooKeeperClusterService |
service |
| Constructor and Description |
|---|
EnsembleCommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkFabricAvailable() |
protected boolean |
checkIfShouldModify(org.apache.felix.service.command.CommandSession session,
boolean force) |
ZooKeeperClusterService |
getService() |
protected java.lang.String[] |
promptForNewUser(java.lang.String user,
java.lang.String password)
Prompts the user for username and/or password.
|
void |
setService(ZooKeeperClusterService service) |
protected ZooKeeperClusterService service
public ZooKeeperClusterService getService()
public void setService(ZooKeeperClusterService service)
protected void checkFabricAvailable()
protected boolean checkIfShouldModify(org.apache.felix.service.command.CommandSession session,
boolean force)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String[] promptForNewUser(java.lang.String user,
java.lang.String password)
throws java.io.IOException
user - The default username.password - The default password.java.io.IOExceptionCopyright © 2014 Red Hat. All Rights Reserved.