org.ow2.clif.deploy
Class DeployDefinition

java.lang.Object
  extended by org.ow2.clif.deploy.DeployDefinition
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ClifDeployDefinition

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

For scenario deployment definition.

Author:
Bruno Dillenseger
See Also:
Serialized Form

Constructor Summary
DeployDefinition(java.lang.String servername, java.lang.String adlDefinition, java.util.Map<java.lang.String,java.lang.String> context, java.lang.String argument, java.lang.String comment)
          Creates a new scenario deployment definition.
 
Method Summary
 java.lang.String getAdlDefinition()
           
 java.lang.String getArgument()
           
 java.lang.String getComment()
           
 java.util.Map<java.lang.String,java.lang.String> getContext()
           
 java.lang.String getServerName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployDefinition

public DeployDefinition(java.lang.String servername,
                        java.lang.String adlDefinition,
                        java.util.Map<java.lang.String,java.lang.String> context,
                        java.lang.String argument,
                        java.lang.String comment)
Creates a new scenario deployment definition.

Parameters:
servername - the name of the CLIF server where this scenario must be deployed
adlDefinition - the fully qualified name of the file containing the Fractal definition for the component to be deployed
context - the context that will be used when instantiating the component
argument - the blade argument to be set
comment - an arbitrary String to be associated with this blade (e.g. a role for the blade or any other useful information or comment for monitoring or results reading...)
Method Detail

getServerName

public java.lang.String getServerName()
Returns:
the CLIF server name involved by this deployment definition.

getAdlDefinition

public java.lang.String getAdlDefinition()
Returns:
the fully qualified name of the resource file holding the ADL definition for the deployed component.

getContext

public java.util.Map<java.lang.String,java.lang.String> getContext()
Returns:
the blade creation context

getArgument

public java.lang.String getArgument()
Returns:
the scenario argument string

getComment

public java.lang.String getComment()
Returns:
the comment played by the scenario (an arbitrary string)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object