org.ow2.clif.storage.lib.filestorage
Class BladeDescriptorImpl
java.lang.Object
org.ow2.clif.storage.lib.filestorage.BladeDescriptorImpl
- All Implemented Interfaces:
- java.io.Serializable, BladeDescriptor
public class BladeDescriptorImpl
- extends java.lang.Object
- implements BladeDescriptor
- Author:
- Bruno Dillenseger
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
protected java.lang.String id
def
protected ClifDeployDefinition def
eventTypeLabels
protected java.lang.String[] eventTypeLabels
BladeDescriptorImpl
public BladeDescriptorImpl(java.io.File bladeDir,
java.lang.String bladeId,
ClifDeployDefinition definition)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName
in interface BladeDescriptor
- Returns:
- the CLIF server name who has run this blade.
getArgument
public java.lang.String getArgument()
- Specified by:
getArgument
in interface BladeDescriptor
- Returns:
- the argument set for this blade
getClassname
public java.lang.String getClassname()
- Specified by:
getClassname
in interface BladeDescriptor
- Returns:
- the classname of this injector blade, or the resource type name for this probe blade.
getComment
public java.lang.String getComment()
- Specified by:
getComment
in interface BladeDescriptor
- Returns:
- the comment associated to this blade
getId
public java.lang.String getId()
- Specified by:
getId
in interface BladeDescriptor
- Returns:
- the identifier for this blade (unique for a given test run)
isProbe
public boolean isProbe()
- Specified by:
isProbe
in interface BladeDescriptor
- Returns:
- true if this blade is a probe, false otherwise.
isInjector
public boolean isInjector()
- Specified by:
isInjector
in interface BladeDescriptor
- Returns:
- true if this blade is an injector, false otherwise.
getEventTypeLabels
public java.lang.String[] getEventTypeLabels()
- Specified by:
getEventTypeLabels
in interface BladeDescriptor
- Returns:
- labels of the events generated by this blade
(each event type is identified by a specific label).