@Internal
public interface RemoteTerminal
RemotePlatform, including
launching RemoteApplicationProcesses and creating remote directories.
Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RemoteTerminal.Launchable
A callback interface defining how an
Application should be launched remotely using a
RemoteTerminal. |
| Modifier and Type | Method and Description |
|---|---|
RemoteApplicationProcess |
launch(RemoteTerminal.Launchable launchable,
Class<? extends Application> applicationClass,
com.oracle.bedrock.OptionsByType optionsByType)
Launches an
Application, represented as a RemoteApplicationProcess,
according to the information provided by the RemoteTerminal.Launchable and specified OptionsByType. |
void |
makeDirectories(String directoryName,
com.oracle.bedrock.OptionsByType optionsByType)
Ensure that the specified directory exists on the
RemotePlatform. |
RemoteApplicationProcess launch(RemoteTerminal.Launchable launchable, Class<? extends Application> applicationClass, com.oracle.bedrock.OptionsByType optionsByType)
Application, represented as a RemoteApplicationProcess,
according to the information provided by the RemoteTerminal.Launchable and specified OptionsByType.launchable - the RemoteTerminal.Launchable defining how to launch the ApplicationapplicationClass - the Class of the Application being launchedoptionsByType - the OptionsByType to use when launching the ApplicationRemoteApplicationProcess representing the launched ApplicationRuntimeException - when a problem occurs while starting the applicationvoid makeDirectories(String directoryName, com.oracle.bedrock.OptionsByType optionsByType)
RemotePlatform.directoryName - the directory to createoptionsByType - the OptionsByTypeCopyright © 2017. All rights reserved.