org.apache.tuscany.sca.contribution
Interface Contribution

All Superinterfaces:
Artifact

public interface Contribution
extends Artifact

The representation of a deployed contribution

Version:
$Rev: 539692 $ $Date: 2007-05-19 07:06:18 +0100 (Sat, 19 May 2007) $

Field Summary
static java.lang.String SCA_CONTRIBUTION_DEPLOYABLES
          Default location of deployables in a contribution
static java.lang.String SCA_CONTRIBUTION_GENERATED_META
          default location of a generated contribution metadata in a contribution package
static java.lang.String SCA_CONTRIBUTION_META
          Default location of contribution metadata in a contribution package
 
Method Summary
 java.util.List<DeployedArtifact> getArtifacts()
          Get a list of artifacts from the contribution
 java.util.List<Composite> getDeployables()
          Get a list of deployables for the contribution based on the contribution metadata sidefile
 java.util.List<ContributionExport> getExports()
          Get a list of exports based on the Contribution metadata sidefile
 java.util.List<ContributionImport> getImports()
          Get a list of imports based on the Contribution metadata sidefile
 ModelResolver getModelResolver()
          Returns the model resolver for the models representing the artifacts visible in the scope of this contribution.
 void setModelResolver(ModelResolver modelResolver)
          Sets the model resolver for the models representing the artifacts visible in the scope of this contribution.
 
Methods inherited from interface org.apache.tuscany.sca.contribution.Artifact
getLocation, getURI, setLocation, setURI
 

Field Detail

SCA_CONTRIBUTION_META

static final java.lang.String SCA_CONTRIBUTION_META
Default location of contribution metadata in a contribution package

See Also:
Constant Field Values

SCA_CONTRIBUTION_GENERATED_META

static final java.lang.String SCA_CONTRIBUTION_GENERATED_META
default location of a generated contribution metadata in a contribution package

See Also:
Constant Field Values

SCA_CONTRIBUTION_DEPLOYABLES

static final java.lang.String SCA_CONTRIBUTION_DEPLOYABLES
Default location of deployables in a contribution

See Also:
Constant Field Values
Method Detail

getExports

java.util.List<ContributionExport> getExports()
Get a list of exports based on the Contribution metadata sidefile

Returns:
The list of exported artifacts from this contribution

getImports

java.util.List<ContributionImport> getImports()
Get a list of imports based on the Contribution metadata sidefile

Returns:
The list of imported artifacts on this contribution

getDeployables

java.util.List<Composite> getDeployables()
Get a list of deployables for the contribution based on the contribution metadata sidefile

Returns:
The list of deployable composites

getArtifacts

java.util.List<DeployedArtifact> getArtifacts()
Get a list of artifacts from the contribution

Returns:
The list of deployed artifacts for the contribution

getModelResolver

ModelResolver getModelResolver()
Returns the model resolver for the models representing the artifacts visible in the scope of this contribution.

Returns:
The model resolver

setModelResolver

void setModelResolver(ModelResolver modelResolver)
Sets the model resolver for the models representing the artifacts visible in the scope of this contribution.

Parameters:
modelResolver - The model resolver