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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

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