public abstract class RemoteProcessSupport<Target,EntryPoint,Parameters>
extends java.lang.Object
Constructor and Description |
---|
RemoteProcessSupport(java.lang.Class<EntryPoint> valueClass) |
Modifier and Type | Method and Description |
---|---|
EntryPoint |
acquire(Target target,
Parameters configuration) |
protected abstract void |
fireModificationCountChanged() |
java.util.Set<Pair<Target,Parameters>> |
getActiveConfigurations() |
java.util.List<Parameters> |
getActiveConfigurations(Target target) |
protected abstract java.lang.String |
getName(Target target) |
protected abstract RunProfileState |
getRunProfileState(Target target,
Parameters configuration,
Executor executor) |
protected void |
logText(Parameters configuration,
ProcessEvent event,
Key outputType) |
protected void |
onProcessTerminated(ProcessEvent event) |
java.util.concurrent.Future<?> |
release(Target target,
Parameters configuration) |
protected void |
sendDataAfterStart(ProcessHandler handler) |
void |
stopAll() |
void |
stopAll(boolean wait) |
public static final Logger LOG
public RemoteProcessSupport(java.lang.Class<EntryPoint> valueClass)
protected abstract void fireModificationCountChanged()
protected abstract java.lang.String getName(Target target)
protected void logText(Parameters configuration, ProcessEvent event, Key outputType)
public void stopAll()
public void stopAll(boolean wait)
public java.util.List<Parameters> getActiveConfigurations(Target target)
public java.util.Set<Pair<Target,Parameters>> getActiveConfigurations()
public EntryPoint acquire(Target target, Parameters configuration) throws java.lang.Exception
java.lang.Exception
public java.util.concurrent.Future<?> release(Target target, Parameters configuration)
protected abstract RunProfileState getRunProfileState(Target target, Parameters configuration, Executor executor) throws ExecutionException
ExecutionException
protected void onProcessTerminated(ProcessEvent event)
protected void sendDataAfterStart(ProcessHandler handler)