Package org.eclipse.ecf.console
Class AbstractCommand
java.lang.Object
org.eclipse.ecf.console.AbstractCommand
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
consoleLine
(org.apache.felix.service.command.CommandSession cs, String format, Object... args) protected String
formatConfig
(ContainerTypeDescription ctd, int level, org.apache.felix.service.command.Converter escape) protected String
formatContainer
(IContainer c, int level, org.apache.felix.service.command.Converter escape) protected String
formatLine
(String format, Object... args) protected String
formatNamespace
(Namespace ns, int level, org.apache.felix.service.command.Converter escape) protected List<ContainerTypeDescription>
protected IContainer
protected abstract IContainerManager
protected List<IContainer>
protected ContainerTypeDescription
getContainerTypeDescription
(ID containerID) protected abstract IIDFactory
protected String
printClassArrays
(Class<?>[][] types) protected String
printStringArray
(String[] strarr)
-
Field Details
-
CONTAINER_LINE_FORMAT
- See Also:
-
CONTAINER_INSPECT_FORMAT
- See Also:
-
NAMESPACE_LINE_FORMAT
- See Also:
-
NAMESPACE_INSPECT_FORMAT
- See Also:
-
CTD_LINE_FORMAT
- See Also:
-
CTD_INSPECT_FORMAT
- See Also:
-
-
Constructor Details
-
AbstractCommand
public AbstractCommand()
-
-
Method Details
-
getContainerManager
-
getIDFactory
-
getContainers
-
getNamespaces
-
getConfigs
-
consoleLine
-
getContainerTypeDescription
-
getContainerForId
-
printClassArrays
-
formatLine
-
formatContainer
protected String formatContainer(IContainer c, int level, org.apache.felix.service.command.Converter escape) -
formatNamespace
-
formatConfig
protected String formatConfig(ContainerTypeDescription ctd, int level, org.apache.felix.service.command.Converter escape) -
printStringArray
-