org.apache.maven.model
Class ActivationCustom

java.lang.Object
  extended by org.apache.maven.model.ActivationCustom
All Implemented Interfaces:
java.io.Serializable

public class ActivationCustom
extends java.lang.Object
implements java.io.Serializable

This activation allows users to specify their own custom trigger for a profile.

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

Constructor Summary
ActivationCustom()
           
 
Method Summary
 java.lang.Object getConfiguration()
          Get the specification for triggering the profile according to the rules of the custom activation type.
 java.lang.String getModelEncoding()
           
 java.lang.String getType()
          Get the type (role-hint) of activation which is to be used to activate the profile.
 void setConfiguration(java.lang.Object configuration)
          Set the specification for triggering the profile according to the rules of the custom activation type.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setType(java.lang.String type)
          Set the type (role-hint) of activation which is to be used to activate the profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationCustom

public ActivationCustom()
Method Detail

getConfiguration

public java.lang.Object getConfiguration()
Get the specification for triggering the profile according to the rules of the custom activation type.

Returns:
Object

getType

public java.lang.String getType()
Get the type (role-hint) of activation which is to be used to activate the profile.

Returns:
String

setConfiguration

public void setConfiguration(java.lang.Object configuration)
Set the specification for triggering the profile according to the rules of the custom activation type.

Parameters:
configuration -

setType

public void setType(java.lang.String type)
Set the type (role-hint) of activation which is to be used to activate the profile.

Parameters:
type -

setModelEncoding

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

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

getModelEncoding

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


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.