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 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
           
 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
           
 String outToFile
          The file to which the standard out of this tool must be written
 String toolCommand
          The command used to invoke this tool
 String toolGroup
          Tools in the same group are assumed to share the same binary directory location
 String toolID
          The unique ID associated with this tool
 String toolName
          The name of this tool
 ToolPane[] toolPanes
          The array of toolPanes associated with this tool
 
Constructor Summary
ToolApp()
           
 
Method Summary
 List<String> getArguments(ILaunchConfiguration configuration)
          Builds and concatenates all arguments from the defined sources (toolArgument and toolPane objects)
 Map<String,String> getEnvVars(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 String toolID
The unique ID associated with this tool


toolName

public String toolName
The name of this tool


toolCommand

public 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 String inputID
Matched to available output ID's to determine the path and arguments to files to be read/processed


toolGroup

public 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 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 List<String> getArguments(ILaunchConfiguration configuration)
                          throws CoreException
Builds and concatenates all arguments from the defined sources (toolArgument and toolPane objects)

Throws:
CoreException

getEnvVars

public Map<String,String> getEnvVars(ILaunchConfiguration configuration)
                              throws CoreException
Builds and concatenates all envVars from the defined sources (toolArgument and toolPane objects)

Throws:
CoreException

PTP
Release 7.0

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