org.apache.maven.continuum.model.project
Class BuildDefinition

java.lang.Object
  extended by org.apache.maven.continuum.model.project.BuildDefinition
All Implemented Interfaces:
Serializable

public class BuildDefinition
extends Object
implements Serializable

Class BuildDefinition.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
BuildDefinition()
           
 
Method Summary
 boolean equals(Object other)
          Method equals.
 String getArguments()
          Get the arguments field.
 String getBuildFile()
          Get the buildFile field.
 String getDescription()
          Get description of the buid defintion.
 String getGoals()
          Get the goals field.
 int getId()
          Get the id field.
 Profile getProfile()
          Get the profile field.
 Schedule getSchedule()
          Get the schedule field.
 String getType()
          Get type of the buid defintion.
 int getUpdatePolicy()
          Get the updatePolicy field.
 int hashCode()
          Method hashCode.
 boolean isAlwaysBuild()
          Get true if the build had to be forced even if there is no scm change.
 boolean isBuildFresh()
          Get true if the build is to be smoked and checked back out from the scm each build.
 boolean isDefaultForProject()
          Get the defaultForProject field.
 boolean isTemplate()
          Get true if this buildDefinition is a template.
 void setAlwaysBuild(boolean alwaysBuild)
          Set true if the build had to be forced even if there is no scm change.
 void setArguments(String arguments)
          Set the arguments field.
 void setBuildFile(String buildFile)
          Set the buildFile field.
 void setBuildFresh(boolean buildFresh)
          Set true if the build is to be smoked and checked back out from the scm each build.
 void setDefaultForProject(boolean defaultForProject)
          Set the defaultForProject field.
 void setDescription(String description)
          Set description of the buid defintion.
 void setGoals(String goals)
          Set the goals field.
 void setId(int id)
          Set the id field.
 void setProfile(Profile profile)
          Set the profile field.
 void setSchedule(Schedule schedule)
          Set the schedule field.
 void setTemplate(boolean template)
          Set true if this buildDefinition is a template.
 void setType(String type)
          Set type of the buid defintion.
 void setUpdatePolicy(int updatePolicy)
          Set the updatePolicy field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildDefinition

public BuildDefinition()
Method Detail

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getArguments

public String getArguments()
Get the arguments field.

Returns:
String

getBuildFile

public String getBuildFile()
Get the buildFile field.

Returns:
String

getDescription

public String getDescription()
Get description of the buid defintion.

Returns:
String

getGoals

public String getGoals()
Get the goals field.

Returns:
String

getId

public int getId()
Get the id field.

Returns:
int

getProfile

public Profile getProfile()
Get the profile field.

Returns:
Profile

getSchedule

public Schedule getSchedule()
Get the schedule field.

Returns:
Schedule

getType

public String getType()
Get type of the buid defintion.

Returns:
String

getUpdatePolicy

public int getUpdatePolicy()
Get the updatePolicy field.

Returns:
int

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isAlwaysBuild

public boolean isAlwaysBuild()
Get true if the build had to be forced even if there is no scm change.

Returns:
boolean

isBuildFresh

public boolean isBuildFresh()
Get true if the build is to be smoked and checked back out from the scm each build.

Returns:
boolean

isDefaultForProject

public boolean isDefaultForProject()
Get the defaultForProject field.

Returns:
boolean

isTemplate

public boolean isTemplate()
Get true if this buildDefinition is a template.

Returns:
boolean

setAlwaysBuild

public void setAlwaysBuild(boolean alwaysBuild)
Set true if the build had to be forced even if there is no scm change.

Parameters:
alwaysBuild -

setArguments

public void setArguments(String arguments)
Set the arguments field.

Parameters:
arguments -

setBuildFile

public void setBuildFile(String buildFile)
Set the buildFile field.

Parameters:
buildFile -

setBuildFresh

public void setBuildFresh(boolean buildFresh)
Set true if the build is to be smoked and checked back out from the scm each build.

Parameters:
buildFresh -

setDefaultForProject

public void setDefaultForProject(boolean defaultForProject)
Set the defaultForProject field.

Parameters:
defaultForProject -

setDescription

public void setDescription(String description)
Set description of the buid defintion.

Parameters:
description -

setGoals

public void setGoals(String goals)
Set the goals field.

Parameters:
goals -

setId

public void setId(int id)
Set the id field.

Parameters:
id -

setProfile

public void setProfile(Profile profile)
Set the profile field.

Parameters:
profile -

setSchedule

public void setSchedule(Schedule schedule)
Set the schedule field.

Parameters:
schedule -

setTemplate

public void setTemplate(boolean template)
Set true if this buildDefinition is a template.

Parameters:
template -

setType

public void setType(String type)
Set type of the buid defintion.

Parameters:
type -

setUpdatePolicy

public void setUpdatePolicy(int updatePolicy)
Set the updatePolicy field.

Parameters:
updatePolicy -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


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