com.javaforge.bobber.archetype.model
Class BobberArchetype

java.lang.Object
  extended by com.javaforge.bobber.archetype.model.BobberArchetype
All Implemented Interfaces:
Serializable

public class BobberArchetype
extends Object
implements Serializable

Describes the assembly layout and packaging.

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

Constructor Summary
BobberArchetype()
           
 
Method Summary
 void addTemplate(Template template)
          Method addTemplate.
 void addVariable(Variable variable)
          Method addVariable.
 String getId()
          Get the id field.
 String getModelEncoding()
           
 List getTemplates()
          Method getTemplates.
 List getVariables()
          Method getVariables.
 boolean isAllowPartial()
          Get the allowPartial field.
 void removeTemplate(Template template)
          Method removeTemplate.
 void removeVariable(Variable variable)
          Method removeVariable.
 void setAllowPartial(boolean allowPartial)
          Set the allowPartial field.
 void setId(String id)
          Set the id field.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setTemplates(List templates)
          Set list of all the templates in the archetype that need to .
 void setVariables(List variables)
          Set variable expressions that will use the System.properties values to be used as input into the velocity template engine .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BobberArchetype

public BobberArchetype()
Method Detail

addTemplate

public void addTemplate(Template template)
Method addTemplate.

Parameters:
template -

addVariable

public void addVariable(Variable variable)
Method addVariable.

Parameters:
variable -

getId

public String getId()
Get the id field.

Returns:
String

getTemplates

public List getTemplates()
Method getTemplates.

Returns:
java.util.List

getVariables

public List getVariables()
Method getVariables.

Returns:
java.util.List

isAllowPartial

public boolean isAllowPartial()
Get the allowPartial field.

Returns:
boolean

removeTemplate

public void removeTemplate(Template template)
Method removeTemplate.

Parameters:
template -

removeVariable

public void removeVariable(Variable variable)
Method removeVariable.

Parameters:
variable -

setAllowPartial

public void setAllowPartial(boolean allowPartial)
Set the allowPartial field.

Parameters:
allowPartial -

setId

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

Parameters:
id -

setTemplates

public void setTemplates(List templates)
Set list of all the templates in the archetype that need to .

Parameters:
templates -

setVariables

public void setVariables(List variables)
Set variable expressions that will use the System.properties values to be used as input into the velocity template engine .

Parameters:
variables -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.