wt.build
Interface BuildService

All Known Implementing Classes:
BuildServiceFwd, StandardBuildService

public interface BuildService



Supported API: false

Extendable: false


Method Summary
 BuildTarget buildTarget(BuildTarget target)
          Deprecated. at R6. Please use buildTarget(BuildTarget, ConfigSpec).
 QueryResult buildTarget(BuildTarget[] targets, ConfigSpec configSpec)
          Deprecated.  
 BuildTarget buildTarget(BuildTarget target, ConfigSpec configSpec)
          

Supported API: false
 WTValuedMap buildTarget(WTCollection targets, ConfigSpec configSpec)
          Builds the given collection of targets.
 BuildTargetMaster buildTargetMaster(BuildTargetMaster targetMaster)
          Propagates attributes from all source master to given target master.
 QueryResult buildTargetMaster(BuildTargetMaster[] targetMasters)
          Propagates attributes from all source master to given target masters.
 QueryResult buildTargetMasterForSourceMaster(BuildSourceMaster sourceMaster)
          Propagates attributes from all source masters associated with target master associated to given master.
 QueryResult buildTargetMasterForSourceMaster(BuildSourceMaster[] sourceMasters)
          Propagates attributes from all source masters associated with target master associated to given masters.
 QueryResult buildTargetsForSource(BuildSource source)
          Deprecated. at R6. Please use buildTargetForSource(BuildSource, ConfigSpec).
 QueryResult buildTargetsForSource(BuildSource[] sources, ConfigSpec configSpec)
          Deprecated.  
 QueryResult buildTargetsForSource(BuildSource source, ConfigSpec configSpec)
          

Supported API: false
 QueryResult buildTargetsForSource(WTCollection sources, ConfigSpec configSpec)
          

Supported API: false
 BuildableOccurrence deleteOccurrence(BuildableOccurrence occurrence)
          Deprecated.  
 WTSet deleteOccurrences(WTSet occurrences)
          Deletes given buildable occurrences.
 BuildableLink getBuiltLink(BuildReference buildReference)
          Deprecated.  
 BuildableLink getBuiltLink(BuildTarget targetParent, BuildReference buildReference)
          Returns a "built" buildable link (if exists else null) with the given build reference.
 BuildableOccurrence getBuiltOccurrence(BuildReference buildReference)
          Returns the "built" buildable occurrence that is associated with this build reference..
 QueryResult getBuiltOccurrences()
          Returns all "built" buildable occurrences that are associated with selected build targets.
 QueryResult getBuiltOccurrences(UsesOccurrenceContext buildTarget)
          Returns all "built" buildable occurrences that are associated with this build target.
 QueryResult getCandidateLinks(Persistable child)
          Deprecated.  
 QueryResult getCandidateLinks(Persistable parent, Persistable child)
          Returns a QueryResult of "non built" buildable links for the given parent and child.
 QueryResult getCandidateOccurrences(OccurrenceableLink link)
          Returns all "non built" buildable occurrences associated with the given link.
 QueryResult getTargetsForSources(QueryResult buildSources, Class buildRule)
          

Supported API: false
 void markAsBuilt(BuildableLink link, BuildReference buildReference)
          Deprecated. at R6. Please use BuildHelper.markAsBuilt().
 void markAsNeeded(BuildableObject object)
          Tells the Build Service to preserve the given buildable object.
 BuildableLink newBuildableLink(Class linkClass, BuildTarget buildTargetRoleObject, Persistable persistableRoleObject, BuildReference buildReference)
          

Supported API: false
 QueryResult saveOccurrence(UsesOccurrence occurrence, Vector occurrenceData)
          Saves a buildable uses occurrence and its associated occurrence data.
 BuildableLink storeBuildableLink(BuildableLink link)
          Deprecated.  
 WTCollection storeBuildableLinks(WTCollection links)
          Stores the buildable links.
 

Method Detail

buildTargetsForSource

public QueryResult buildTargetsForSource(BuildSource source)
                                  throws WTException,
                                         NoRulesToBuildException
Deprecated. at R6. Please use buildTargetForSource(BuildSource, ConfigSpec).



Supported API: false

Parameters:
source -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

buildTargetsForSource

public QueryResult buildTargetsForSource(BuildSource source,
                                         ConfigSpec configSpec)
                                  throws WTException,
                                         NoRulesToBuildException


Supported API: false

Parameters:
source -
configSpec -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

buildTarget

public BuildTarget buildTarget(BuildTarget target)
                        throws WTException,
                               NoRulesToBuildException
Deprecated. at R6. Please use buildTarget(BuildTarget, ConfigSpec).



Supported API: false

Parameters:
target -
Returns:
BuildTarget
Throws:
WTException
NoRulesToBuildException

buildTarget

public BuildTarget buildTarget(BuildTarget target,
                               ConfigSpec configSpec)
                        throws WTException,
                               NoRulesToBuildException


Supported API: false

Parameters:
target -
configSpec -
Returns:
BuildTarget
Throws:
WTException
NoRulesToBuildException

newBuildableLink

public BuildableLink newBuildableLink(Class linkClass,
                                      BuildTarget buildTargetRoleObject,
                                      Persistable persistableRoleObject,
                                      BuildReference buildReference)
                               throws WTException


Supported API: false

Parameters:
linkClass -
buildTargetRoleObject -
persistableRoleObject -
buildReference -
Returns:
BuildableLink
Throws:
WTException

storeBuildableLink

public BuildableLink storeBuildableLink(BuildableLink link)
                                 throws WTException
Deprecated.  



Supported API: false

Parameters:
link - buildable link to save
Returns:
BuildableLink
Throws:
WTException

getTargetsForSources

public QueryResult getTargetsForSources(QueryResult buildSources,
                                        Class buildRule)
                                 throws WTException


Supported API: false

Parameters:
buildSources -
buildRule -
Returns:
QueryResult
Throws:
WTException

getBuiltLink

public BuildableLink getBuiltLink(BuildReference buildReference)
                           throws WTException
Deprecated.  

Returns a "built" buildable link (if exists else null) with the given build reference.

Supported API: false

Parameters:
buildReference -
Returns:
BuildableLink
Throws:
WTException

getCandidateLinks

public QueryResult getCandidateLinks(Persistable child)
                              throws WTException
Deprecated.  

Returns a QueryResult of "non built" buildable links for the given child.

Supported API: false

Parameters:
child -
Returns:
QueryResult
Throws:
WTException

markAsBuilt

public void markAsBuilt(BuildableLink link,
                        BuildReference buildReference)
                 throws WTException
Deprecated. at R6. Please use BuildHelper.markAsBuilt().

Converts a "non built" buildable link to "built" buildable link by setting the link's build reference.

Supported API: false

Parameters:
link -
buildReference -
Throws:
WTException

markAsNeeded

public void markAsNeeded(BuildableObject object)
                  throws WTException
Tells the Build Service to preserve the given buildable object.

Supported API: false

Parameters:
object -
Throws:
WTException

getCandidateOccurrences

public QueryResult getCandidateOccurrences(OccurrenceableLink link)
                                    throws WTException
Returns all "non built" buildable occurrences associated with the given link. These are occurrences that a build delegate may possibly want to subsume.

Supported API: false

Parameters:
link -
Returns:
QueryResult
Throws:
WTException

getBuiltOccurrences

public QueryResult getBuiltOccurrences(UsesOccurrenceContext buildTarget)
                                throws WTException
Returns all "built" buildable occurrences that are associated with this build target.

Supported API: false

Parameters:
buildTarget -
Returns:
QueryResult
Throws:
WTException

saveOccurrence

public QueryResult saveOccurrence(UsesOccurrence occurrence,
                                  Vector occurrenceData)
                           throws WTException
Saves a buildable uses occurrence and its associated occurrence data. Updates the occurrence cache maintained by the BuildService.

Supported API: false

Parameters:
occurrence - Buildable Uses Occurrence to save
occurrenceData - Occurrence Data to save along with the occurrence
Returns:
QueryResult
Throws:
WTException

deleteOccurrence

public BuildableOccurrence deleteOccurrence(BuildableOccurrence occurrence)
                                     throws WTException
Deprecated.  

Deletes a buildable occurrence. Updates the occurrence cache maintained by the BuildService.

Supported API: false

Parameters:
occurrence -
Returns:
BuildableOccurrence
Throws:
WTException

getBuiltOccurrence

public BuildableOccurrence getBuiltOccurrence(BuildReference buildReference)
                                       throws WTException
Returns the "built" buildable occurrence that is associated with this build reference..

Supported API: false

Parameters:
buildReference -
Returns:
BuildableOccurrence
Throws:
WTException

buildTarget

public WTValuedMap buildTarget(WTCollection targets,
                               ConfigSpec configSpec)
                        throws WTException,
                               NoRulesToBuildException
Builds the given collection of targets. Returns WTValuedMap with original target as key and built target as value.

Supported API: false

Parameters:
targets - collection of BuildTarget
configSpec -
Returns:
WTValuedMap
Throws:
WTException
NoRulesToBuildException

buildTargetsForSource

public QueryResult buildTargetsForSource(WTCollection sources,
                                         ConfigSpec configSpec)
                                  throws WTException,
                                         NoRulesToBuildException


Supported API: false

Parameters:
sources - collection of BuildSource
configSpec -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

buildTargetMaster

public BuildTargetMaster buildTargetMaster(BuildTargetMaster targetMaster)
                                    throws WTException
Propagates attributes from all source master to given target master.

Supported API: false

Parameters:
targetMaster -
Returns:
BuildTargetMaster
Throws:
WTException

buildTargetMaster

public QueryResult buildTargetMaster(BuildTargetMaster[] targetMasters)
                              throws WTException
Propagates attributes from all source master to given target masters.

Supported API: false

Parameters:
targetMasters -
Returns:
QueryResult
Throws:
WTException

buildTargetMasterForSourceMaster

public QueryResult buildTargetMasterForSourceMaster(BuildSourceMaster[] sourceMasters)
                                             throws WTException
Propagates attributes from all source masters associated with target master associated to given masters.

Supported API: false

Parameters:
sourceMasters -
Returns:
QueryResult
Throws:
WTException

buildTargetMasterForSourceMaster

public QueryResult buildTargetMasterForSourceMaster(BuildSourceMaster sourceMaster)
                                             throws WTException
Propagates attributes from all source masters associated with target master associated to given master.

Supported API: false

Parameters:
sourceMaster -
Returns:
QueryResult
Throws:
WTException

getBuiltOccurrences

public QueryResult getBuiltOccurrences()
                                throws WTException
Returns all "built" buildable occurrences that are associated with selected build targets.

Supported API: false

Returns:
QueryResult
Throws:
WTException

deleteOccurrences

public WTSet deleteOccurrences(WTSet occurrences)
                        throws WTException
Deletes given buildable occurrences. Updates the occurrence cache maintained by the BuildService .

Supported API: false

Parameters:
occurrences -
Returns:
WTSet
Throws:
WTException

storeBuildableLinks

public WTCollection storeBuildableLinks(WTCollection links)
                                 throws WTException
Stores the buildable links. Updates the cache maintained by build service.

Supported API: false

Parameters:
links - buildable links to save
Returns:
WTCollection
Throws:
WTException

getCandidateLinks

public QueryResult getCandidateLinks(Persistable parent,
                                     Persistable child)
                              throws WTException
Returns a QueryResult of "non built" buildable links for the given parent and child.

Supported API: false

Parameters:
parent -
child -
Returns:
QueryResult
Throws:
WTException

buildTarget

public QueryResult buildTarget(BuildTarget[] targets,
                               ConfigSpec configSpec)
                        throws WTException,
                               NoRulesToBuildException
Deprecated.  



Supported API: false

Parameters:
targets -
configSpec -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

buildTargetsForSource

public QueryResult buildTargetsForSource(BuildSource[] sources,
                                         ConfigSpec configSpec)
                                  throws WTException,
                                         NoRulesToBuildException
Deprecated.  



Supported API: false

Parameters:
sources -
configSpec -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

getBuiltLink

public BuildableLink getBuiltLink(BuildTarget targetParent,
                                  BuildReference buildReference)
                           throws WTException
Returns a "built" buildable link (if exists else null) with the given build reference.

Supported API: false

Parameters:
targetParent -
buildReference -
Returns:
BuildableLink
Throws:
WTException