org.apache.continuum.taskqueue
Class BuildProjectTask

java.lang.Object
  extended by org.apache.continuum.taskqueue.BuildProjectTask
All Implemented Interfaces:
Serializable, org.codehaus.plexus.taskqueue.Task

public class BuildProjectTask
extends Object
implements org.codehaus.plexus.taskqueue.Task, Serializable

Version:
$Id: BuildProjectTask.java 1391353 2012-09-28 07:50:49Z brett $
Author:
Trygve Laugstøl
See Also:
Serialized Form

Constructor Summary
BuildProjectTask(int projectId, int buildDefinitionId, BuildTrigger buildTrigger, String projectName, String buildDefinitionLabel, ScmResult scmResult, int projectGroupId)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getBuildDefinitionId()
           
 String getBuildDefinitionLabel()
           
 BuildTrigger getBuildTrigger()
           
 int getHashCode()
           
 long getMaxExecutionTime()
           
 int getProjectGroupId()
           
 int getProjectId()
           
 String getProjectName()
           
 ScmResult getScmResult()
           
 long getTimestamp()
           
 int hashCode()
           
 void setBuildTrigger(BuildTrigger buildTrigger)
           
 void setMaxExecutionTime(long maxExecutionTime)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildProjectTask

public BuildProjectTask(int projectId,
                        int buildDefinitionId,
                        BuildTrigger buildTrigger,
                        String projectName,
                        String buildDefinitionLabel,
                        ScmResult scmResult,
                        int projectGroupId)
Method Detail

getProjectId

public int getProjectId()

getBuildDefinitionId

public int getBuildDefinitionId()

getTimestamp

public long getTimestamp()

getBuildTrigger

public BuildTrigger getBuildTrigger()

setBuildTrigger

public void setBuildTrigger(BuildTrigger buildTrigger)

setMaxExecutionTime

public void setMaxExecutionTime(long maxExecutionTime)

getMaxExecutionTime

public long getMaxExecutionTime()
Specified by:
getMaxExecutionTime in interface org.codehaus.plexus.taskqueue.Task

getProjectName

public String getProjectName()

getBuildDefinitionLabel

public String getBuildDefinitionLabel()

getScmResult

public ScmResult getScmResult()

getProjectGroupId

public int getProjectGroupId()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getHashCode

public int getHashCode()


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.