PTP
Release 7.0

org.eclipse.ptp.etfw.toolopts
Class ToolApp

java.lang.Object
  extended by org.eclipse.ptp.etfw.toolopts.ToolApp

public class ToolApp
extends java.lang.Object


Field Summary
 IAppInput[] allInput
          The array of all ToolPanes and ToolArguments, in the order they were defined in the tool xml document
 ToolIO[] inputArgs
           
 java.lang.String inputID
          Matched to available output ID's to determine the path and arguments to files to be read/processed
 boolean isVisualizer
          If true the command is launched and output is not handled.
 ToolIO[] outputArgs
           
 java.lang.String outToFile
          The file to which the standard out of this tool must be written
 java.lang.String toolCommand
          The command used to invoke this tool
 java.lang.String toolGroup
          Tools in the same group are assumed to share the same binary directory location
 java.lang.String toolID
          The unique ID associated with this tool
 java.lang.String toolName
          The name of this tool
 ToolPane[] toolPanes
          The array of toolPanes associated with this tool
 
Constructor Summary
ToolApp()
           
 
Method Summary
 java.util.List<java.lang.String> getArguments(org.eclipse.debug.core.ILaunchConfiguration configuration)
          Builds and concatenates all arguments from the defined sources (toolArgument and toolPane objects)
 java.util.Map<java.lang.String,java.lang.String> getEnvVars(org.eclipse.debug.core.ILaunchConfiguration configuration)
          Builds and concatenates all envVars from the defined sources (toolArgument and toolPane objects)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toolID

public java.lang.String toolID
The unique ID associated with this tool


toolName

public java.lang.String toolName
The name of this tool


toolCommand

public java.lang.String toolCommand
The command used to invoke this tool


isVisualizer

public boolean isVisualizer
If true the command is launched and output is not handled. Otherwise output is manged for printing on the console.


inputID

public java.lang.String inputID
Matched to available output ID's to determine the path and arguments to files to be read/processed


toolGroup

public java.lang.String toolGroup
Tools in the same group are assumed to share the same binary directory location


toolPanes

public ToolPane[] toolPanes
The array of toolPanes associated with this tool


allInput

public IAppInput[] allInput
The array of all ToolPanes and ToolArguments, in the order they were defined in the tool xml document


outToFile

public java.lang.String outToFile
The file to which the standard out of this tool must be written


inputArgs

public ToolIO[] inputArgs

outputArgs

public ToolIO[] outputArgs
Constructor Detail

ToolApp

public ToolApp()
Method Detail

getArguments

public java.util.List<java.lang.String> getArguments(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                              throws org.eclipse.core.runtime.CoreException
Builds and concatenates all arguments from the defined sources (toolArgument and toolPane objects)

Throws:
org.eclipse.core.runtime.CoreException

getEnvVars

public java.util.Map<java.lang.String,java.lang.String> getEnvVars(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                                            throws org.eclipse.core.runtime.CoreException
Builds and concatenates all envVars from the defined sources (toolArgument and toolPane objects)

Throws:
org.eclipse.core.runtime.CoreException

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.