public abstract class CDOCommand extends Factory
Modifier and Type | Class and Description |
---|---|
static class |
CDOCommand.CommandException |
static class |
CDOCommand.CommandParameter |
static class |
CDOCommand.WithAccessor |
static class |
CDOCommand.WithRepository |
Modifier and Type | Field and Description |
---|---|
static String |
INDENT |
static String |
PRODUCT_GROUP |
Constructor and Description |
---|
CDOCommand(String name,
String description) |
CDOCommand(String name,
String description,
CDOCommand.CommandParameter... parameters) |
getDescriptionFor, getKey, getProductGroup, getType, toString
public static final String PRODUCT_GROUP
public static final String INDENT
public CDOCommand(String name, String description, CDOCommand.CommandParameter... parameters)
public final CDOCommand create(String description) throws ProductCreationException
ProductCreationException
public final CommandInterpreter getInterpreter()
public final void setInterpreter(CommandInterpreter interpreter)
public final String getName()
public final String getDescription()
public final CDOCommand.CommandParameter[] getParameters()
public final String getSyntax()
public final void print(Object o)
public final void println()
public final void println(Object o)
public final void printStackTrace(Throwable t)
public final void printDictionary(Dictionary<?,?> dic, String title)
public final void printBundleResource(org.osgi.framework.Bundle bundle, String resource)
public static CDOCommand.CommandParameter[] parameters(CDOCommand.CommandParameter parameter, CDOCommand.CommandParameter[] parameters)
public static CDOCommand.CommandParameter parameter(String name, boolean optional)
public static CDOCommand.CommandParameter parameter(String name)
public static CDOCommand.CommandParameter optional(String name)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html