public abstract class AbstractContinuousCommand extends java.lang.Object implements ContinuousCommand, java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractContinuousCommand.State |
| Modifier and Type | Field and Description |
|---|---|
protected FolderItemFactory |
itemFactory |
| Constructor and Description |
|---|
AbstractContinuousCommand(java.lang.String id,
ProcessConfiguration processConfiguration,
int restartDelay,
int maxInputBuffer,
Splitter splitter) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
handleStdLine(java.lang.String line) |
protected void |
processFailed(java.lang.Throwable e) |
protected void |
processStarted(java.lang.Process process) |
void |
run() |
void |
setCurrentState(AbstractContinuousCommand.State state) |
void |
start(Hive hive,
FolderCommon parentFolder) |
void |
stop() |
protected FolderItemFactory itemFactory
public AbstractContinuousCommand(java.lang.String id,
ProcessConfiguration processConfiguration,
int restartDelay,
int maxInputBuffer,
Splitter splitter)
public void start(Hive hive, FolderCommon parentFolder)
start in interface ContinuousCommandpublic void stop()
stop in interface ContinuousCommandpublic void run()
run in interface java.lang.Runnableprotected void processFailed(java.lang.Throwable e)
protected void processStarted(java.lang.Process process)
protected abstract void handleStdLine(java.lang.String line)
public void setCurrentState(AbstractContinuousCommand.State state)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0