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

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

public class BuildDefinitionTemplate
extends Object
implements Serializable

Template which contains some buildDefinitions.

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

Constructor Summary
BuildDefinitionTemplate()
           
 
Method Summary
 void addBuildDefinition(BuildDefinition buildDefinition)
          Method addBuildDefinition.
 boolean equals(Object other)
          Method equals.
 List<BuildDefinition> getBuildDefinitions()
          Method getBuildDefinitions.
 int getId()
          Get the id field.
 String getName()
          Get the name field.
 String getType()
          Get type of the buid BuildDefinitionTemplate use for default.
 int hashCode()
          Method hashCode.
 boolean isContinuumDefault()
          Get true if this definition is a continuum default build def (cannot be removed).
 void removeBuildDefinition(BuildDefinition buildDefinition)
          Method removeBuildDefinition.
 void setBuildDefinitions(List<BuildDefinition> buildDefinitions)
          Set the buildDefinitions field.
 void setContinuumDefault(boolean continuumDefault)
          Set true if this definition is a continuum default build def (cannot be removed).
 void setId(int id)
          Set the id field.
 void setName(String name)
          Set the name field.
 void setType(String type)
          Set type of the buid BuildDefinitionTemplate use for default.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildDefinitionTemplate

public BuildDefinitionTemplate()
Method Detail

addBuildDefinition

public void addBuildDefinition(BuildDefinition buildDefinition)
Method addBuildDefinition.

Parameters:
buildDefinition -

equals

public boolean equals(Object other)
Method equals.

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

getBuildDefinitions

public List<BuildDefinition> getBuildDefinitions()
Method getBuildDefinitions.

Returns:
List

getId

public int getId()
Get the id field.

Returns:
int

getName

public String getName()
Get the name field.

Returns:
String

getType

public String getType()
Get type of the buid BuildDefinitionTemplate use for default.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isContinuumDefault

public boolean isContinuumDefault()
Get true if this definition is a continuum default build def (cannot be removed).

Returns:
boolean

removeBuildDefinition

public void removeBuildDefinition(BuildDefinition buildDefinition)
Method removeBuildDefinition.

Parameters:
buildDefinition -

setBuildDefinitions

public void setBuildDefinitions(List<BuildDefinition> buildDefinitions)
Set the buildDefinitions field.

Parameters:
buildDefinitions -

setContinuumDefault

public void setContinuumDefault(boolean continuumDefault)
Set true if this definition is a continuum default build def (cannot be removed).

Parameters:
continuumDefault -

setId

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

Parameters:
id -

setName

public void setName(String name)
Set the name field.

Parameters:
name -

setType

public void setType(String type)
Set type of the buid BuildDefinitionTemplate use for default.

Parameters:
type -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


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