org.ow2.clif.deploy
Class DeployDefinition
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 deployedadlDefinition
- the fully qualified name of the file containing the Fractal definition
for the component to be deployedcontext
- the context that will be used when instantiating the componentargument
- the blade argument to be setcomment
- 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...)
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