PTP
Release 7.0

org.eclipse.ptp.pldt.common
Class ScanReturn

java.lang.Object
  extended by org.eclipse.ptp.pldt.common.ScanReturn

public class ScanReturn
extends Object

This object represents the collection of artifacts (e.g. MPI or OpenMP artifacts) returned from analysis, which will eventually be displayed in the associated view, etc.
It can also contain other information such as return codes, generalized analysis results, parameters, etc.


Constructor Summary
ScanReturn()
          Create a ScanReturn objct
 
Method Summary
 void addArtifact(Artifact a)
          Add an artifact to the accumulated list
 List<Artifact> getArtifactList()
          Get list of artifacts found
 String toString()
           
 boolean wasError()
          was an error found during the artifact analysis?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScanReturn

public ScanReturn()
Create a ScanReturn objct

Method Detail

wasError

public boolean wasError()
was an error found during the artifact analysis? may be overridden

Returns:

getArtifactList

public List<Artifact> getArtifactList()
Get list of artifacts found

Returns:
list of artifacts found

addArtifact

public void addArtifact(Artifact a)
Add an artifact to the accumulated list

Parameters:
a -

toString

public String toString()
Overrides:
toString in class Object

PTP
Release 7.0

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