wt.build
Class BuildDelegateFactory

java.lang.Object
  extended bywt.build.BuildDelegateFactory
All Implemented Interfaces:
ApplicationContextChild, Externalizable, Serializable

public class BuildDelegateFactory
extends Object
implements ApplicationContextChild, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
BuildDelegateFactory()
           
 
Method Summary
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
 BuildDelegate getBuildDelegate(BuildRule rule)
          

Supported API: false
 Map getBuildDelegateMap(BuildRule[] buildRules)
          

Supported API: false
 BuildHistoryDelegate getBuildHistoryDelegate(BuildRule rule)
          

Supported API: false
 Map getBuildHistoryDelegateMap(BuildRule[] buildRules)
          

Supported API: false
 BuildRuleEventDelegate getBuildRuleEventDelegate(BuildRule rule, KeyedEvent event)
          

Supported API: false
 Map getBuildRuleEventDelegateMap(BuildRule[] buildRules, KeyedEvent event)
          

Supported API: false
 BuildSourceEventDelegate getBuildSourceEventDelegate(BuildRule rule, KeyedEvent event)
          

Supported API: false
 Map getBuildSourceEventDelegateMap(BuildRule[] buildRules, KeyedEvent event)
          

Supported API: false
 BuildTargetEventDelegate getBuildTargetEventDelegate(BuildRule rule, KeyedEvent event)
          

Supported API: false
 Map getBuildTargetEventDelegateMap(BuildRule[] buildRules, KeyedEvent event)
          

Supported API: false
 PareSourceDelegate[] getPareSourceDelegates(BuildSource source)
          

Supported API: false
 Map getPareSourceDelegatesMap(BuildSource[] sources)
          

Supported API: false
 PareTargetDelegate[] getPareTargetDelegates(BuildTarget target)
          

Supported API: false
 Map getPareTargetDelegatesMap(BuildTarget[] targets)
          

Supported API: false
 SourceRequiresLocalBuildDelegate[] getSourceRequiresLocalBuildDelegates(BuildSource source)
          

Supported API: false
 Map getSourceRequiresLocalBuildDelegatesMap(BuildSource[] sources)
          

Supported API: false
 TargetsForSourcesDelegate getTargetsForSourcesDelegate(Class buildRule)
          

Supported API: false
 Map getTargetsForSourcesDelegateMap(Class[] classes)
          

Supported API: false
 TargetSupportsLocalBuildDelegate[] getTargetSupportsLocalBuildDelegates(BuildTarget target)
          

Supported API: false
 Map getTargetSupportsLocalBuildDelegatesMap(BuildTarget[] targets)
          

Supported API: false
 ValidateSourceForBuildDelegate[] getValidateSourceForBuildDelegates(BuildSource source)
          

Supported API: false
 Map getValidateSourceForBuildDelegatesMap(BuildSource[] sources)
          

Supported API: false
 ValidateTargetForBuildDelegate[] getValidateTargetForBuildDelegates(BuildTarget target)
          

Supported API: false
 Map getValidateTargetForBuildDelegatesMap(BuildTarget[] targets)
          

Supported API: false
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(BuildDelegateFactory thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: applicationContext.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

applicationContext

private ApplicationContext applicationContext

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

BuildDelegateFactory

public BuildDelegateFactory()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(BuildDelegateFactory thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getBuildDelegate

public BuildDelegate getBuildDelegate(BuildRule rule)


Supported API: false

Parameters:
rule -
Returns:
BuildDelegate

getValidateSourceForBuildDelegates

public ValidateSourceForBuildDelegate[] getValidateSourceForBuildDelegates(BuildSource source)


Supported API: false

Parameters:
source -
Returns:
ValidateSourceForBuildDelegate[]

getValidateTargetForBuildDelegates

public ValidateTargetForBuildDelegate[] getValidateTargetForBuildDelegates(BuildTarget target)


Supported API: false

Parameters:
target -
Returns:
ValidateTargetForBuildDelegate[]

getSourceRequiresLocalBuildDelegates

public SourceRequiresLocalBuildDelegate[] getSourceRequiresLocalBuildDelegates(BuildSource source)


Supported API: false

Parameters:
source -
Returns:
SourceRequiresLocalBuildDelegate[]

getTargetSupportsLocalBuildDelegates

public TargetSupportsLocalBuildDelegate[] getTargetSupportsLocalBuildDelegates(BuildTarget target)


Supported API: false

Parameters:
target -
Returns:
TargetSupportsLocalBuildDelegate[]

getPareSourceDelegates

public PareSourceDelegate[] getPareSourceDelegates(BuildSource source)


Supported API: false

Parameters:
source -
Returns:
PareSourceDelegate[]

getPareTargetDelegates

public PareTargetDelegate[] getPareTargetDelegates(BuildTarget target)


Supported API: false

Parameters:
target -
Returns:
PareTargetDelegate[]

getBuildHistoryDelegate

public BuildHistoryDelegate getBuildHistoryDelegate(BuildRule rule)


Supported API: false

Parameters:
rule -
Returns:
BuildHistoryDelegate

getBuildRuleEventDelegate

public BuildRuleEventDelegate getBuildRuleEventDelegate(BuildRule rule,
                                                        KeyedEvent event)


Supported API: false

Parameters:
rule -
event -
Returns:
BuildRuleEventDelegate

getBuildSourceEventDelegate

public BuildSourceEventDelegate getBuildSourceEventDelegate(BuildRule rule,
                                                            KeyedEvent event)


Supported API: false

Parameters:
rule -
event -
Returns:
BuildSourceEventDelegate

getBuildTargetEventDelegate

public BuildTargetEventDelegate getBuildTargetEventDelegate(BuildRule rule,
                                                            KeyedEvent event)


Supported API: false

Parameters:
rule -
event -
Returns:
BuildTargetEventDelegate

getTargetsForSourcesDelegate

public TargetsForSourcesDelegate getTargetsForSourcesDelegate(Class buildRule)


Supported API: false

Parameters:
buildRule -
Returns:
TargetsForSourcesDelegate

getBuildSourceEventDelegateMap

public Map getBuildSourceEventDelegateMap(BuildRule[] buildRules,
                                          KeyedEvent event)


Supported API: false

Parameters:
buildRules -
event -
Returns:
Map

getBuildTargetEventDelegateMap

public Map getBuildTargetEventDelegateMap(BuildRule[] buildRules,
                                          KeyedEvent event)


Supported API: false

Parameters:
buildRules -
event -
Returns:
Map

getBuildRuleEventDelegateMap

public Map getBuildRuleEventDelegateMap(BuildRule[] buildRules,
                                        KeyedEvent event)


Supported API: false

Parameters:
buildRules -
event -
Returns:
Map

getBuildDelegateMap

public Map getBuildDelegateMap(BuildRule[] buildRules)


Supported API: false

Parameters:
buildRules -
Returns:
Map

getBuildHistoryDelegateMap

public Map getBuildHistoryDelegateMap(BuildRule[] buildRules)


Supported API: false

Parameters:
buildRules -
Returns:
Map

getValidateSourceForBuildDelegatesMap

public Map getValidateSourceForBuildDelegatesMap(BuildSource[] sources)


Supported API: false

Parameters:
sources -
Returns:
Map

getValidateTargetForBuildDelegatesMap

public Map getValidateTargetForBuildDelegatesMap(BuildTarget[] targets)


Supported API: false

Parameters:
targets -
Returns:
Map

getPareSourceDelegatesMap

public Map getPareSourceDelegatesMap(BuildSource[] sources)


Supported API: false

Parameters:
sources -
Returns:
Map

getPareTargetDelegatesMap

public Map getPareTargetDelegatesMap(BuildTarget[] targets)


Supported API: false

Parameters:
targets -
Returns:
Map

getSourceRequiresLocalBuildDelegatesMap

public Map getSourceRequiresLocalBuildDelegatesMap(BuildSource[] sources)


Supported API: false

Parameters:
sources -
Returns:
Map

getTargetSupportsLocalBuildDelegatesMap

public Map getTargetSupportsLocalBuildDelegatesMap(BuildTarget[] targets)


Supported API: false

Parameters:
targets -
Returns:
Map

getTargetsForSourcesDelegateMap

public Map getTargetsForSourcesDelegateMap(Class[] classes)


Supported API: false

Parameters:
classes -
Returns:
Map

getApplicationContext

public ApplicationContext getApplicationContext()
Gets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Sets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException