org.netbeans.modules.project.ant/1 1.12.22

org.netbeans.spi.project.ant
Interface AntArtifactQueryImplementation


public interface AntArtifactQueryImplementation

Represents knowledge about the origin of an Ant build product.

Normal code does not need to implement this query. A standard implementation first finds an associated Project and then checks to see if it supports AntArtifactProvider. You would only need to implement this directly in case your project type generated build artifacts outside of the project directory or otherwise not marked as "owned" by you according to FileOwnerQuery.

See Also:
AntArtifactQuery

Method Summary
 AntArtifact findArtifact(File file)
          Find an Ant build artifact corresponding to a given file.
 

Method Detail

findArtifact

AntArtifact findArtifact(File file)
Find an Ant build artifact corresponding to a given file.

Parameters:
file - a file on disk (need not currently exist) which might be a build artifact from an Ant script
Returns:
an artifact information object, or null if it is not recognized

org.netbeans.modules.project.ant/1 1.12.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.