org.jboss.dna.repository
Interface Configurator.SequencerConfigurator<ReturnType>

Type Parameters:
ReturnType - the type of interface to return after the sequencer's configuration is completed
All Known Implementing Classes:
DnaConfiguration, DnaConfiguration.Builder
Enclosing class:
Configurator<BuilderType>

public static interface Configurator.SequencerConfigurator<ReturnType>

Interface used to configure a sequencer.


Method Summary
 Configurator.ChooseClass<Sequencer,Configurator.SequencerDetails<ReturnType>> addSequencer(String id)
          Add a new sequencer to this configuration.
 

Method Detail

addSequencer

Configurator.ChooseClass<Sequencer,Configurator.SequencerDetails<ReturnType>> addSequencer(String id)
Add a new sequencer to this configuration. The new sequencer will have the supplied name, and if the name of an existing sequencer is used, this will replace the existing sequencer configuration.

Parameters:
id - the identifier of the new sequencer
Returns:
the interface for choosing the class, which returns the interface used to configure the sequencer; never null
Throws:
IllegalArgumentException - if the sequencer name is null, empty, or otherwise invalid


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