summaryrefslogtreecommitdiff
path: root/DAnCE/dance/DAnCE_ArtifactInstallation.idl
blob: 999b8782b600d3bde113f57470101a95e1305acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef DANCE_ARTIFACT_INSTALLATION_IDL
#define DANCE_ARTIFACT_INSTALLATION_IDL

#include "Deployment/Deployment_DeploymentPlan.idl"
#include "Deployment/Deployment_PlanError.idl"

module DAnCE
{
  interface ArtifactInstallation
  {
    void initialize ()
      raises (::Deployment::PlanError);

    void clear ()
      raises (::Deployment::PlanError);

    /// Acts as a front end to the ArtifactInstallationHandlers
    /// that were installed at object creation. Each InstallationHandler
    /// is capable of handling a single URI type;
    void install (in string plan_uuid,
                  in ::Deployment::ArtifactDeploymentDescription artifact)
      raises (::Deployment::PlanError);

    void remove (in string plan_uuid,
                 in string artifact_name)
      raises (::Deployment::PlanError);

    void remove_all (in string plan_uuid)
      raises (::Deployment::PlanError);

    /// Used by component/locality server to query location of a given artifact
    string get_artifact_location (in string uuid,
                                  in string artifact_name);
  };
};

#endif /* DANCE_ARTIFACT_INSTALLATION_IDL */