|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.contribution.groovy.GroovyArtifactProcessor
public class GroovyArtifactProcessor
A URLArtifactProcessor for Groovy scripts
Constructor Summary | |
---|---|
GroovyArtifactProcessor(ModelFactoryExtensionPoint modelFactories,
Monitor monitor)
|
Method Summary | |
---|---|
java.lang.String |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
java.lang.Class<GroovyArtifact> |
getModelType()
Returns the type of model handled by this artifact processor. |
GroovyArtifact |
read(java.net.URL contributionURL,
java.net.URI artifactURI,
java.net.URL artifactURL)
Reads a model from a URL. |
void |
resolve(GroovyArtifact groovyModel,
ModelResolver arg1)
Resolve references from this model to other models. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroovyArtifactProcessor(ModelFactoryExtensionPoint modelFactories, Monitor monitor)
Method Detail |
---|
public GroovyArtifact read(java.net.URL contributionURL, java.net.URI artifactURI, java.net.URL artifactURL) throws ContributionReadException
URLArtifactProcessor
read
in interface URLArtifactProcessor<GroovyArtifact>
contributionURL
- Contribution location URLartifactURI
- Artifact URIartifactURL
- Artifact location URL
ContributionReadException
public java.lang.String getArtifactType()
URLArtifactProcessor
getArtifactType
in interface URLArtifactProcessor<GroovyArtifact>
public java.lang.Class<GroovyArtifact> getModelType()
ArtifactProcessor
getModelType
in interface ArtifactProcessor<GroovyArtifact>
public void resolve(GroovyArtifact groovyModel, ModelResolver arg1) throws ContributionResolveException
ArtifactProcessor
resolve
in interface ArtifactProcessor<GroovyArtifact>
groovyModel
- The model to resolvearg1
- The resolver to use to resolve referenced models
ContributionResolveException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |