org.apache.maven.model
Class Profile

java.lang.Object
  extended byorg.apache.maven.model.ModelBase
      extended byorg.apache.maven.model.Profile
All Implemented Interfaces:
java.io.Serializable

public class Profile
extends ModelBase
implements java.io.Serializable

Modifications to the build process which is keyed on some sort of environmental parameter.

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

Constructor Summary
Profile()
           
 
Method Summary
 Activation getActivation()
          Get The conditional logic which will automatically trigger the inclusion of this profile.
 BuildBase getBuild()
          Get Information required to build the project.
 java.lang.String getId()
          Get The ID of this build profile, for activation purposes.
 java.lang.String getModelEncoding()
           
 java.lang.String getSource()
           
 void setActivation(Activation activation)
          Set The conditional logic which will automatically trigger the inclusion of this profile.
 void setBuild(BuildBase build)
          Set Information required to build the project.
 void setId(java.lang.String id)
          Set The ID of this build profile, for activation purposes.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setSource(java.lang.String source)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.maven.model.ModelBase
addDependency, addModule, addPluginRepository, addProperty, addRepository, getDependencies, getDependencyManagement, getDistributionManagement, getModules, getPluginRepositories, getProperties, getReporting, getReports, getRepositories, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setModules, setPluginRepositories, setProperties, setReporting, setReports, setRepositories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

getActivation

public Activation getActivation()
Get The conditional logic which will automatically trigger the inclusion of this profile.


getBuild

public BuildBase getBuild()
Get Information required to build the project.


getId

public java.lang.String getId()
Get The ID of this build profile, for activation purposes.


setActivation

public void setActivation(Activation activation)
Set The conditional logic which will automatically trigger the inclusion of this profile.

Parameters:
activation -

setBuild

public void setBuild(BuildBase build)
Set Information required to build the project.

Parameters:
build -

setId

public void setId(java.lang.String id)
Set The ID of this build profile, for activation purposes.

Parameters:
id -

setSource

public void setSource(java.lang.String source)

getSource

public java.lang.String getSource()

toString

public java.lang.String toString()

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class ModelBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class ModelBase


Copyright 2006 Apache Software Foundation. All Rights Reserved.