ModeShape Distribution 3.2.0.Final

org.modeshape.jcr.api.sequencer
Interface Sequencer.Context

All Known Implementing Classes:
Sequencers.SequencingContext
Enclosing class:
Sequencer

public static interface Sequencer.Context

The sequencer context represents the complete context of a sequencer invocation. Currently, this information includes the current time of sequencer execution.


Method Summary
 Calendar getTimestamp()
          Get the timestamp of the sequencing.
 ValueFactory valueFactory()
          Returns a ValueFactory instance which can be used to perform additional type conversions, from what ValueFactory offers
 

Method Detail

getTimestamp

Calendar getTimestamp()
Get the timestamp of the sequencing. This is always the timestamp of the change event that is being processed.

Returns:
timestamp the "current" timestamp; never null

valueFactory

ValueFactory valueFactory()
Returns a ValueFactory instance which can be used to perform additional type conversions, from what ValueFactory offers

Returns:
a non-null value factory, using the output node's session as context

ModeShape Distribution 3.2.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.