public abstract class AbstractComponent extends Object implements Validate
| Modifier and Type | Field and Description |
|---|---|
static String |
CATEGORY_CLIENT |
static String |
CATEGORY_MASTER |
static String |
CATEGORY_SLAVE |
protected List<ComponentCommand> |
commands |
protected CommandScript |
commandScript |
static String |
MASTER_PACKAGE_NAME |
protected String |
name |
static String |
TYPE_DOCKER |
static String |
TYPE_PYTHON |
static String |
TYPE_STANDARD |
| Constructor and Description |
|---|
AbstractComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommandScript(CommandScript commandScript) |
List<ComponentCommand> |
getCommands() |
CommandScript |
getCommandScript() |
String |
getName() |
void |
setCommands(List<ComponentCommand> commands) |
void |
setName(String name) |
String |
toString() |
public static final String TYPE_STANDARD
public static final String TYPE_DOCKER
public static final String TYPE_PYTHON
public static final String CATEGORY_MASTER
public static final String CATEGORY_SLAVE
public static final String CATEGORY_CLIENT
public static final String MASTER_PACKAGE_NAME
protected String name
protected CommandScript commandScript
protected List<ComponentCommand> commands
public String getName()
public void setName(String name)
public CommandScript getCommandScript()
public void addCommandScript(CommandScript commandScript)
public List<ComponentCommand> getCommands()
public void setCommands(List<ComponentCommand> commands)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.