public class SRemoteGui extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SRemoteGui.ConsoleListener |
Constructor and Description |
---|
SRemoteGui() |
Modifier and Type | Method and Description |
---|---|
static void |
addConsoleListener(IExternalAccess platformaccess,
String id,
IRemoteChangeListener rcl) |
static IFuture<Tuple2<URL,IResourceIdentifier>> |
addRemoteURL(IResourceIdentifier parid,
String filename,
boolean tl,
IExternalAccess exta)
Add a remote url via the library service.
|
static IFuture<Tuple2<URL,IResourceIdentifier>> |
addURL(IExternalAccess access,
String filename)
Add a URL to the lib service.
|
static IIntermediateFuture<FileData> |
checkExistence(String[] files,
IExternalAccess exta)
Check remote files for existence.
|
static IIntermediateFuture<String> |
convertPathsToRelative(String[] paths,
IExternalAccess exta)
Convert the given paths to relative paths.
|
static IIntermediateFuture<String> |
copy(String source,
IExternalAccess sourceaccess,
String target,
IDeploymentService targetds)
Copy a file between two platforms.
|
static IFuture<IResourceIdentifier> |
createResourceIdentifier(IExternalAccess platformaccess,
String ridurl,
String globalrid)
Create a resource identifier.
|
static IFuture<Void> |
deregisterRemoteCMSListener(IExternalAccess access,
IComponentIdentifier cid,
String id0)
Deregister the remote listener.
|
static IFuture<Integer> |
findChild(IExternalAccess access,
String toremove,
List<String> filenames)
Find an entry in a list of URLs.
|
static IFuture<FileData> |
getFileData(IExternalAccess platformaccess,
String path)
Get the file info of a remote path.
|
static IFuture<Object[]> |
getServiceInfos(IExternalAccess ea)
Get the service infos for a component.
|
static IFuture<Void> |
installRemoteCMSListener(IExternalAccess access,
IComponentIdentifier cid,
IRemoteChangeListener rcl0,
String id0)
Install the remote listener.
|
static IFuture<Boolean> |
isTestcase(String model,
IExternalAccess access,
IResourceIdentifier rid)
Check if a component model can be started as test case.
|
static IIntermediateFuture<FileData> |
listFiles(FileData dir,
IRemoteFilter filter,
IExternalAccess exta)
List files in a directory matching a filter (if any).
|
static IIntermediateFuture<FileData> |
listJarFileEntries(FileData file,
IRemoteFilter filter,
IExternalAccess exta)
List files of a remote jar file
|
static IFuture<Tuple2<String,String>> |
localizeModel(IExternalAccess platformaccess,
String name,
IResourceIdentifier rid)
Localize a model name.
|
static IFuture<Void> |
logWarning(String msg,
IExternalAccess exta)
Log a warning on a component.
|
static IFuture<Boolean> |
matchModel(String path,
String model,
IExternalAccess exta)
Compare a model to a path.
|
static IFuture<Map<String,Object>> |
parseArgs(Map<String,String> rawargs,
IResourceIdentifier modelrid,
IExternalAccess exta) |
static void |
redirectInput(IExternalAccess access,
String txt)
Redirect some text to the remote input stream.
|
static void |
removeConsoleListener(IExternalAccess platformaccess,
String id) |
static IFuture<Void> |
removeURL(IExternalAccess access,
String path)
Remove a URL from the lib service.
|
public static IFuture<Object[]> getServiceInfos(IExternalAccess ea)
ea
- The component access.public static IFuture<Void> installRemoteCMSListener(IExternalAccess access, IComponentIdentifier cid, IRemoteChangeListener rcl0, String id0)
cid
- The remote component id.public static IFuture<Void> deregisterRemoteCMSListener(IExternalAccess access, IComponentIdentifier cid, String id0)
public static IFuture<Tuple2<String,String>> localizeModel(IExternalAccess platformaccess, String name, IResourceIdentifier rid)
public static IFuture<IResourceIdentifier> createResourceIdentifier(IExternalAccess platformaccess, String ridurl, String globalrid)
ridurl
- The (possibly relative) local RID URL.globalrid
- The global RID, if any.public static IFuture<FileData> getFileData(IExternalAccess platformaccess, String path)
public static IFuture<Tuple2<URL,IResourceIdentifier>> addURL(IExternalAccess access, String filename)
public static IFuture<Void> removeURL(IExternalAccess access, String path)
public static IFuture<Integer> findChild(IExternalAccess access, String toremove, List<String> filenames)
public static IIntermediateFuture<FileData> checkExistence(String[] files, IExternalAccess exta)
files
- The files to check.public static IIntermediateFuture<String> convertPathsToRelative(String[] paths, IExternalAccess exta)
paths
- The pathspublic static IIntermediateFuture<FileData> listFiles(FileData dir, IRemoteFilter filter, IExternalAccess exta)
dir
- The directory.filter
- The filter or null for all files.public static IIntermediateFuture<FileData> listJarFileEntries(FileData file, IRemoteFilter filter, IExternalAccess exta)
public static IFuture<Boolean> isTestcase(String model, IExternalAccess access, IResourceIdentifier rid)
public static IFuture<Map<String,Object>> parseArgs(Map<String,String> rawargs, IResourceIdentifier modelrid, IExternalAccess exta)
public static IFuture<Tuple2<URL,IResourceIdentifier>> addRemoteURL(IResourceIdentifier parid, String filename, boolean tl, IExternalAccess exta)
public static IIntermediateFuture<String> copy(String source, IExternalAccess sourceaccess, String target, IDeploymentService targetds)
public static IFuture<Boolean> matchModel(String path, String model, IExternalAccess exta)
public static IFuture<Void> logWarning(String msg, IExternalAccess exta)
public static void redirectInput(IExternalAccess access, String txt)
public static void addConsoleListener(IExternalAccess platformaccess, String id, IRemoteChangeListener rcl)
public static void removeConsoleListener(IExternalAccess platformaccess, String id)
Copyright © 2013. All Rights Reserved.