com.xebialabs.deployit.engine.api
Interface InspectionService


public interface InspectionService

Inspects middleware. Provides services to discover your topology and resources and synchronize them with the state currently known in Deployit.


Method Summary
 java.lang.String createTask(Inspection inspection)
          Creates the inspection task.
 Inspection prepare(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci)
          Initializes the task parameter object for inspection on a CI.
 Inspection prepare(java.lang.String id)
          Initializes the task parameter object for inspection on a CI.
 java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> retrieveInspectionResults(java.lang.String taskId)
          Retrieved the inspection results
 

Method Detail

prepare

Inspection prepare(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci)
Initializes the task parameter object for inspection on a CI.

Parameters:
ci - The CI to inspect. For example, the root node of a middleware topology.
Returns:
an Inspection parameter object.

prepare

Inspection prepare(java.lang.String id)
Initializes the task parameter object for inspection on a CI.

Parameters:
id - The id of the CI to inspect. For example, the root node of a middleware topology.
Returns:
an Inspection parameter object.

createTask

java.lang.String createTask(Inspection inspection)
Creates the inspection task.

Parameters:
inspection - the inspection parameter object, created by invoking /inspection/prepare.
Returns:
a reference to a Task ID that can be executed by the TaskService.

retrieveInspectionResults

java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> retrieveInspectionResults(java.lang.String taskId)
Retrieved the inspection results

Parameters:
taskId - the Task ID of the task that ran the inspection.
Returns:
the list of CIs that were inspected.