wt.build
Class BuildServiceFwd

java.lang.Object
  extended bywt.build.BuildServiceFwd
All Implemented Interfaces:
BuildService, RemoteAccess, Serializable

public class BuildServiceFwd
extends Object
implements RemoteAccess, BuildService, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
BuildServiceFwd()
           
 
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.
private static Manager getManager()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

BuildServiceFwd

public BuildServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

buildTargetsForSource

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



Supported API: false

Specified by:
buildTargetsForSource in interface BuildService
Parameters:
source -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

buildTargetsForSource

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


Supported API: false

Specified by:
buildTargetsForSource in interface BuildService
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

Specified by:
buildTarget in interface BuildService
Parameters:
target -
Returns:
BuildTarget
Throws:
WTException
NoRulesToBuildException

buildTarget

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


Supported API: false

Specified by:
buildTarget in interface BuildService
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

Specified by:
newBuildableLink in interface BuildService
Parameters:
linkClass -
buildTargetRoleObject -
persistableRoleObject -
buildReference -
Returns:
BuildableLink
Throws:
WTException

storeBuildableLink

public BuildableLink storeBuildableLink(BuildableLink link)
                                 throws WTException
Deprecated.  



Supported API: false

Specified by:
storeBuildableLink in interface BuildService
Parameters:
link - buildable link to save
Returns:
BuildableLink
Throws:
WTException

getTargetsForSources

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


Supported API: false

Specified by:
getTargetsForSources in interface BuildService
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

Specified by:
getBuiltLink in interface BuildService
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

Specified by:
getCandidateLinks in interface BuildService
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

Specified by:
markAsBuilt in interface BuildService
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

Specified by:
markAsNeeded in interface BuildService
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

Specified by:
getCandidateOccurrences in interface BuildService
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

Specified by:
getBuiltOccurrences in interface BuildService
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

Specified by:
saveOccurrence in interface BuildService
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

Specified by:
deleteOccurrence in interface BuildService
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

Specified by:
getBuiltOccurrence in interface BuildService
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

Specified by:
buildTarget in interface BuildService
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

Specified by:
buildTargetsForSource in interface BuildService
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

Specified by:
buildTargetMaster in interface BuildService
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

Specified by:
buildTargetMaster in interface BuildService
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

Specified by:
buildTargetMasterForSourceMaster in interface BuildService
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

Specified by:
buildTargetMasterForSourceMaster in interface BuildService
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

Specified by:
getBuiltOccurrences in interface BuildService
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

Specified by:
deleteOccurrences in interface BuildService
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

Specified by:
storeBuildableLinks in interface BuildService
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

Specified by:
getCandidateLinks in interface BuildService
Parameters:
parent -
child -
Returns:
QueryResult
Throws:
WTException

buildTarget

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



Supported API: false

Specified by:
buildTarget in interface BuildService
Parameters:
targets -
configSpec -
Returns:
QueryResult
Throws:
WTException
NoRulesToBuildException

buildTargetsForSource

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



Supported API: false

Specified by:
buildTargetsForSource in interface BuildService
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

Specified by:
getBuiltLink in interface BuildService
Parameters:
targetParent -
buildReference -
Returns:
BuildableLink
Throws:
WTException