net.sourceforge.basher.impl
Class ModuleDescriptorTaskContribution

java.lang.Object
  extended by net.sourceforge.basher.TaskConfiguration
      extended by net.sourceforge.basher.impl.TaskContribution
          extended by net.sourceforge.basher.impl.ModuleDescriptorTaskContribution

public class ModuleDescriptorTaskContribution
extends TaskContribution

Gaderian configuration of a task. Extends the TaskConfiguration by adding a task, class or object instance.

Author:
Johan Lindquist

Constructor Summary
ModuleDescriptorTaskContribution()
           
ModuleDescriptorTaskContribution(Task task)
           
ModuleDescriptorTaskContribution(Task task, TaskConfiguration taskConfiguration)
           
 
Method Summary
 boolean equals(Object o)
           
 Class getClazz()
           
 Object getInstance()
           
 int hashCode()
           
 void setClazz(Class clazz)
           
 void setInstance(Object instance)
           
 String toString()
           
 
Methods inherited from class net.sourceforge.basher.impl.TaskContribution
getTask, getTaskContributions, setFollowers, setTask
 
Methods inherited from class net.sourceforge.basher.TaskConfiguration
addApplicablePhase, clearApplicablePhases, getApplicablePhases, getInertia, getMaxInvocations, getMaxTime, getRunFrom, getStopAfter, getTaskName, getWeight, initialize, reCalculateWeight, reset, setInertia, setMaxInvocations, setMaxTime, setRunFrom, setStopAfter, setTaskName, setWeight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleDescriptorTaskContribution

public ModuleDescriptorTaskContribution(Task task,
                                        TaskConfiguration taskConfiguration)

ModuleDescriptorTaskContribution

public ModuleDescriptorTaskContribution(Task task)

ModuleDescriptorTaskContribution

public ModuleDescriptorTaskContribution()
Method Detail

getClazz

public Class getClazz()

setClazz

public void setClazz(Class clazz)

getInstance

public Object getInstance()

setInstance

public void setInstance(Object instance)

toString

public String toString()
Overrides:
toString in class TaskContribution

equals

public boolean equals(Object o)
Overrides:
equals in class TaskContribution

hashCode

public int hashCode()
Overrides:
hashCode in class TaskContribution


Copyright © 2006-2010 Basher Team. All Rights Reserved.