Class AbstractTestServiceManager.ArtifactAsserter

java.lang.Object
test.de.iip_ecosphere.platform.services.spring.AbstractTestServiceManager.ArtifactAsserter
Direct Known Subclasses:
SimpleStartStopServiceManagerTest.MyArtifactAsserter
Enclosing class:
AbstractTestServiceManager

protected class AbstractTestServiceManager.ArtifactAsserter extends Object
Artifact asserter interface.
Author:
Holger Eichelberger, SSE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cleanup(de.iip_ecosphere.platform.services.ArtifactDescriptor desc)
    Called after service stop to clean up resources.
    Returns service start options to use.
    void
    testDeployment(de.iip_ecosphere.platform.services.ArtifactDescriptor desc)
    Specific tests for the given deployment, i.e., the running services.
    void
    testDescriptor(de.iip_ecosphere.platform.services.ArtifactDescriptor desc)
    Performs specific tests for the given descriptor.

    Methods inherited from class java.lang.Object

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

    • ArtifactAsserter

      protected ArtifactAsserter()
  • Method Details

    • getOptions

      public Map<String,String> getOptions()
      Returns service start options to use.
      Returns:
      the service start options, may be null for none
    • testDescriptor

      public void testDescriptor(de.iip_ecosphere.platform.services.ArtifactDescriptor desc)
      Performs specific tests for the given descriptor.
      Parameters:
      desc - the descriptor
    • testDeployment

      public void testDeployment(de.iip_ecosphere.platform.services.ArtifactDescriptor desc)
      Specific tests for the given deployment, i.e., the running services.
      Parameters:
      desc - the descriptor
    • cleanup

      public void cleanup(de.iip_ecosphere.platform.services.ArtifactDescriptor desc)
      Called after service stop to clean up resources.
      Parameters:
      desc - the descriptor