Class 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 Detail

      • id

        protected java.lang.String id
      • 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:
        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).