net.sourceforge.basher.impl
Class TaskContribution

java.lang.Object
  extended by net.sourceforge.basher.TaskConfiguration
      extended by net.sourceforge.basher.impl.TaskContribution
Direct Known Subclasses:
ModuleDescriptorTaskContribution

public class TaskContribution
extends TaskConfiguration

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

Author:
Johan Lindquist

Constructor Summary
protected TaskContribution()
           
  TaskContribution(Task task)
           
  TaskContribution(Task task, TaskConfiguration taskConfiguration)
           
 
Method Summary
 boolean equals(Object o)
           
 Task getTask()
           
 List<TaskContribution> getTaskContributions()
           
 int hashCode()
           
 void setFollowers(List<TaskContribution> taskContributions)
           
 void setTask(Task task)
           
 String toString()
           
 
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

TaskContribution

public TaskContribution(Task task,
                        TaskConfiguration taskConfiguration)

TaskContribution

protected TaskContribution()

TaskContribution

public TaskContribution(Task task)
Method Detail

getTask

public Task getTask()

setTask

public void setTask(Task task)

setFollowers

public void setFollowers(List<TaskContribution> taskContributions)

getTaskContributions

public List<TaskContribution> getTaskContributions()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class TaskConfiguration

toString

public String toString()
Overrides:
toString in class TaskConfiguration


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