| 
 | org.netbeans.modules.project.ant/1 1.12.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.project.ant.AntArtifactQuery
public class AntArtifactQuery
Find out how to create a certain build artifact by calling some Ant script.
AntArtifactQueryImplementation| Method Summary | |
|---|---|
| static AntArtifact | findArtifactByID(Project p,
                 String id)Try to find a particular build artifact according to the Ant target producing it. | 
| static AntArtifact | findArtifactFromFile(File file)Try to find an Ant artifact object corresponding to a given file on disk. | 
| static AntArtifact[] | findArtifactsByType(Project p,
                    String type)Try to find build artifacts of a certain type in a project. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static AntArtifact findArtifactFromFile(File file)
AntArtifactQueryImplementation providers are asked.
file - a file which might be built by some Ant target
public static AntArtifact findArtifactByID(Project p, String id)
p - a project (should have AntArtifactProvider in lookup
          in order for this query to work)id - a desired ID
public static AntArtifact[] findArtifactsByType(Project p, String type)
p - a project (should have AntArtifactProvider in lookup
          in order for this query to work)type - a desired artifact type
| 
 | org.netbeans.modules.project.ant/1 1.12.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||