public class SRemoteGui
extends java.lang.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,
java.lang.String id,
IRemoteChangeListener rcl) |
static IFuture<Tuple2<java.net.URL,IResourceIdentifier>> |
addRemoteURL(IResourceIdentifier parid,
java.lang.String filename,
boolean tl,
IExternalAccess exta)
Add a remote url via the library service.
|
static IFuture<Tuple2<java.net.URL,IResourceIdentifier>> |
addURL(IExternalAccess access,
java.lang.String filename)
Add a URL to the lib service.
|
static IIntermediateFuture<FileData> |
checkExistence(java.lang.String[] files,
IExternalAccess exta)
Check remote files for existence.
|
static IIntermediateFuture<java.lang.String> |
convertPathsToRelative(java.lang.String[] paths,
IExternalAccess exta)
Convert the given paths to relative paths.
|
static IIntermediateFuture<java.lang.String> |
copy(java.lang.String source,
IExternalAccess sourceaccess,
java.lang.String target,
IFileTransferService targetds)
Copy a file between two platforms.
|
static IFuture<IResourceIdentifier> |
createResourceIdentifier(IExternalAccess platformaccess,
java.lang.String ridurl,
java.lang.String globalrid)
Create a resource identifier.
|
static IFuture<java.lang.Integer> |
findChild(IExternalAccess access,
java.lang.String toremove,
java.util.List<java.lang.String> filenames)
Find an entry in a list of URLs.
|
static IFuture<FileData> |
getFileData(IExternalAccess platformaccess,
java.lang.String path)
Get the file info of a remote path.
|
static IFuture<java.lang.Object[]> |
getServiceInfos(IExternalAccess ea)
Get the service infos for a component.
|
static boolean |
isComponentStepNecessary(IComponentIdentifier target)
Check if a component is necessary.
|
static IFuture<java.lang.Boolean> |
isTestcase(java.lang.String model,
IExternalAccess access,
IResourceIdentifier rid)
Check if a component model can be started as test case.
|
static IIntermediateFuture<FileData> |
listFiles(FileData dir,
IAsyncFilter filter)
List files in a directory matching a filter (if any).
|
static IIntermediateFuture<FileData> |
listFiles(FileData dir,
IAsyncFilter filter,
IExternalAccess exta)
List files in a directory matching a filter (if any).
|
static ISubscriptionIntermediateFuture<FileData> |
listJarFileEntries(FileData file,
IAsyncFilter filter)
List files of a remote jar file
|
static ISubscriptionIntermediateFuture<FileData> |
listJarFileEntries(FileData file,
IAsyncFilter filter,
IExternalAccess exta)
List files in a directory matching a filter (if any).
|
static IFuture<Tuple2<java.lang.String,java.lang.String>> |
localizeModel(IExternalAccess platformaccess,
java.lang.String name,
IResourceIdentifier rid)
Localize a model name.
|
static IFuture<java.lang.Void> |
logWarning(java.lang.String msg,
IExternalAccess exta)
Log a warning on a component.
|
static IFuture<java.lang.Boolean> |
matchModel(java.lang.String path,
java.lang.String model,
IExternalAccess exta)
Compare a model to a path.
|
static IFuture<java.util.Map<java.lang.String,java.lang.Object>> |
parseArgs(java.util.Map<java.lang.String,java.lang.String> rawargs,
IResourceIdentifier modelrid,
IExternalAccess exta) |
static void |
redirectInput(IExternalAccess access,
java.lang.String txt)
Redirect some text to the remote input stream.
|
static void |
removeConsoleListener(IExternalAccess platformaccess,
java.lang.String id) |
static IFuture<java.lang.Void> |
removeURL(IExternalAccess access,
java.lang.String path)
Remove a URL from the lib service.
|
public static boolean isComponentStepNecessary(IComponentIdentifier target)
target
- The target component identifier.public static IFuture<java.lang.Object[]> getServiceInfos(IExternalAccess ea)
ea
- The component access.public static IFuture<Tuple2<java.lang.String,java.lang.String>> localizeModel(IExternalAccess platformaccess, java.lang.String name, IResourceIdentifier rid)
public static IFuture<IResourceIdentifier> createResourceIdentifier(IExternalAccess platformaccess, java.lang.String ridurl, java.lang.String globalrid)
ridurl
- The (possibly relative) local RID URL.globalrid
- The global RID, if any.public static IFuture<FileData> getFileData(IExternalAccess platformaccess, java.lang.String path)
public static IFuture<Tuple2<java.net.URL,IResourceIdentifier>> addURL(IExternalAccess access, java.lang.String filename)
public static IFuture<java.lang.Void> removeURL(IExternalAccess access, java.lang.String path)
public static IFuture<java.lang.Integer> findChild(IExternalAccess access, java.lang.String toremove, java.util.List<java.lang.String> filenames)
public static IIntermediateFuture<FileData> checkExistence(java.lang.String[] files, IExternalAccess exta)
files
- The files to check.public static IIntermediateFuture<java.lang.String> convertPathsToRelative(java.lang.String[] paths, IExternalAccess exta)
paths
- The pathspublic static IIntermediateFuture<FileData> listFiles(FileData dir, IAsyncFilter filter, IExternalAccess exta)
dir
- The directory.filter
- The filter or null for all files.public static IIntermediateFuture<FileData> listFiles(FileData dir, IAsyncFilter filter)
dir
- The directory.filter
- The filter or null for all files.public static ISubscriptionIntermediateFuture<FileData> listJarFileEntries(FileData file, IAsyncFilter filter, IExternalAccess exta)
dir
- The directory.filter
- The filter or null for all files.public static ISubscriptionIntermediateFuture<FileData> listJarFileEntries(FileData file, IAsyncFilter filter)
public static IFuture<java.lang.Boolean> isTestcase(java.lang.String model, IExternalAccess access, IResourceIdentifier rid)
public static IFuture<java.util.Map<java.lang.String,java.lang.Object>> parseArgs(java.util.Map<java.lang.String,java.lang.String> rawargs, IResourceIdentifier modelrid, IExternalAccess exta)
public static IFuture<Tuple2<java.net.URL,IResourceIdentifier>> addRemoteURL(IResourceIdentifier parid, java.lang.String filename, boolean tl, IExternalAccess exta)
public static IIntermediateFuture<java.lang.String> copy(java.lang.String source, IExternalAccess sourceaccess, java.lang.String target, IFileTransferService targetds)
public static IFuture<java.lang.Boolean> matchModel(java.lang.String path, java.lang.String model, IExternalAccess exta)
public static IFuture<java.lang.Void> logWarning(java.lang.String msg, IExternalAccess exta)
public static void redirectInput(IExternalAccess access, java.lang.String txt)
public static void addConsoleListener(IExternalAccess platformaccess, java.lang.String id, IRemoteChangeListener rcl)
public static void removeConsoleListener(IExternalAccess platformaccess, java.lang.String id)