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
Gathers description elements of a test blade: blade id, deployment definition, event type labels- Author:
- Bruno Dillenseger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ClifDeployDefinitiondefprotected java.lang.String[]eventTypeLabelsprotected java.lang.Stringid
-
Constructor Summary
Constructors Constructor Description BladeDescriptorImpl(java.io.File bladeDir, java.lang.String bladeId, ClifDeployDefinition definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArgument()java.lang.StringgetClassname()java.lang.StringgetComment()java.lang.String[]getEventTypeLabels()java.lang.StringgetId()java.lang.StringgetServerName()booleanisInjector()booleanisProbe()java.lang.StringtoString()
-
-
-
Field Detail
-
id
protected java.lang.String id
-
def
protected ClifDeployDefinition def
-
eventTypeLabels
protected java.lang.String[] eventTypeLabels
-
-
Constructor Detail
-
BladeDescriptorImpl
public BladeDescriptorImpl(java.io.File bladeDir, java.lang.String bladeId, ClifDeployDefinition definition) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getServerName
public java.lang.String getServerName()
- Specified by:
getServerNamein interfaceBladeDescriptor- Returns:
- the CLIF server name who has run this blade.
-
getArgument
public java.lang.String getArgument()
- Specified by:
getArgumentin interfaceBladeDescriptor- Returns:
- the argument set for this blade
-
getClassname
public java.lang.String getClassname()
- Specified by:
getClassnamein interfaceBladeDescriptor- Returns:
- the classname of this injector blade, or the resource type name for this probe blade.
-
getComment
public java.lang.String getComment()
- Specified by:
getCommentin interfaceBladeDescriptor- Returns:
- the comment associated to this blade
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceBladeDescriptor- Returns:
- the identifier for this blade (unique for a given test run)
-
isProbe
public boolean isProbe()
- Specified by:
isProbein interfaceBladeDescriptor- Returns:
- true if this blade is a probe, false otherwise.
-
isInjector
public boolean isInjector()
- Specified by:
isInjectorin interfaceBladeDescriptor- Returns:
- true if this blade is an injector, false otherwise.
-
getEventTypeLabels
public java.lang.String[] getEventTypeLabels()
- Specified by:
getEventTypeLabelsin interfaceBladeDescriptor- Returns:
- labels of the events generated by this blade (each event type is identified by a specific label).
-
-