@ThreadSafe public interface SourceFileRecorder
Implementations of this class must provide a public, no-argument constructor.
To use, supply the implementation class name to a JavaFileSequencer object.
Each instance will be reused for multiple JavaFileSequencer.execute(javax.jcr.Property, javax.jcr.Node, org.modeshape.jcr.api.sequencer.Sequencer.Context)
sequence calls , so implementations of this interface must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
void |
record(Sequencer.Context context,
Node outputNode,
JavaMetadata javaMetadata)
Records a source file.
|
void record(Sequencer.Context context, Node outputNode, JavaMetadata javaMetadata) throws RepositoryException
context - the sequencer contextoutputNode - the Node outputjavaMetadata - the metadata for the Java source fileRepositoryException - if anything fails during the sequencing processCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.