Class JobStage

  • All Implemented Interfaces:
    Stage

    public class JobStage
    extends java.lang.Object
    implements Stage
    TapLint stage which submits and manipulates UWS jobs, mostly to check that the UWS operations are performing correctly.
    Since:
    24 Jun 2011
    Author:
    Mark Taylor
    • Constructor Summary

      Constructors 
      Constructor Description
      JobStage​(MetadataHolder metaHolder, long pollMillis)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns a short one-line description of this stage.
      void run​(Reporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet)
      Performs the validation checks for this stage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobStage

        public JobStage​(MetadataHolder metaHolder,
                        long pollMillis)
        Constructor.
        Parameters:
        metaHolder - supplies table metadata at run time so we know what to query
        pollMillis - number of milliseconds between polling attempts when waiting for a normal job to complete
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Stage
        Returns a short one-line description of this stage.
        Specified by:
        getDescription in interface Stage
        Returns:
        description in imperative mood
      • run

        public void run​(Reporter reporter,
                        uk.ac.starlink.vo.EndpointSet endpointSet)
        Description copied from interface: Stage
        Performs the validation checks for this stage.
        Specified by:
        run in interface Stage
        Parameters:
        reporter - destination for validation messages
        endpointSet - locations of TAP service endpoints