public interface ArchiveContributionHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(Contribution contribution)
Returns true if the implementation can process the contribution archive.
|
void |
iterateArtifacts(Contribution contribution,
java.util.function.Consumer<Resource> callback,
IntrospectionContext context)
Iterates through a contribution calling the supplied action when a contained artifact is encountered.
|
void |
processManifest(Contribution contribution,
IntrospectionContext context)
Processes the manifest
|
boolean canProcess(Contribution contribution)
contribution - the contributionvoid processManifest(Contribution contribution, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
contribution - the contributioncontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if an error occurs processing the manifestvoid iterateArtifacts(Contribution contribution, java.util.function.Consumer<Resource> callback, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
contribution - the contributioncallback - the action to perform when an artifact is encounteredcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if an error occurs processing the manifest