org.modeshape.repository
Class ModeShapeConfiguration.SequencerBuilder<ReturnType>
java.lang.Object
org.modeshape.repository.ModeShapeConfiguration.BaseReturnable<ReturnType>
org.modeshape.repository.ModeShapeConfiguration.GraphReturnable<ReturnType,ThisType>
org.modeshape.repository.ModeShapeConfiguration.GraphComponentBuilder<ReturnType,ModeShapeConfiguration.SequencerDefinition<ReturnType>,StreamSequencer>
org.modeshape.repository.ModeShapeConfiguration.SequencerBuilder<ReturnType>
- All Implemented Interfaces:
- ModeShapeConfiguration.ChooseClass<StreamSequencer,ModeShapeConfiguration.SequencerDefinition<ReturnType>>, ModeShapeConfiguration.Removable<ReturnType>, ModeShapeConfiguration.Returnable<ReturnType>, ModeShapeConfiguration.SequencerDefinition<ReturnType>, ModeShapeConfiguration.SetDescription<ModeShapeConfiguration.SequencerDefinition<ReturnType>>, ModeShapeConfiguration.SetProperties<ModeShapeConfiguration.SequencerDefinition<ReturnType>>
- Enclosing class:
- ModeShapeConfiguration
protected static class ModeShapeConfiguration.SequencerBuilder<ReturnType>
- extends ModeShapeConfiguration.GraphComponentBuilder<ReturnType,ModeShapeConfiguration.SequencerDefinition<ReturnType>,StreamSequencer>
- implements ModeShapeConfiguration.SequencerDefinition<ReturnType>
Methods inherited from class org.modeshape.repository.ModeShapeConfiguration.GraphReturnable |
createIfMissing, createIfMissing, createIfMissing, getDescription, getName, getProperty, getProperty, remove, setDescription, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, subpath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.modeshape.repository.ModeShapeConfiguration.SetProperties |
getProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty |
ModeShapeConfiguration.SequencerBuilder
protected ModeShapeConfiguration.SequencerBuilder(ReturnType returnObject,
Graph.Batch batch,
Path path,
Name... names)
thisType
protected ModeShapeConfiguration.SequencerDefinition<ReturnType> thisType()
- Specified by:
thisType
in class ModeShapeConfiguration.GraphReturnable<ReturnType,ModeShapeConfiguration.SequencerDefinition<ReturnType>>
getPathExpressions
public Set<PathExpression> getPathExpressions()
- Description copied from interface:
ModeShapeConfiguration.SequencerDefinition
- Get the path expressions from the saved configuration.
- Specified by:
getPathExpressions
in interface ModeShapeConfiguration.SequencerDefinition<ReturnType>
- Returns:
- the set of path expressions; never null but possibly empty
sequencingFrom
public ModeShapeConfiguration.SequencerDefinition<ReturnType> sequencingFrom(PathExpression expression)
- Description copied from interface:
ModeShapeConfiguration.SequencerDefinition
- Specify the input
path expression
, which determines when this sequencer will be executed.
- Specified by:
sequencingFrom
in interface ModeShapeConfiguration.SequencerDefinition<ReturnType>
- Parameters:
expression
- the path expression for nodes that, when they change, will be passed as an input to the
sequencer
- Returns:
- the interface used to continue specifying the configuration of the sequencer
sequencingFrom
public ModeShapeConfiguration.PathExpressionOutput<ReturnType> sequencingFrom(String fromPathExpression)
- Description copied from interface:
ModeShapeConfiguration.SequencerDefinition
- Specify the input
path expression
represented as a string, which determines when this sequencer
will be executed.
- Specified by:
sequencingFrom
in interface ModeShapeConfiguration.SequencerDefinition<ReturnType>
- Parameters:
fromPathExpression
- the path expression for nodes that, when they change, will be passed as an input to the
sequencer
- Returns:
- the interface used to specify the output path expression; never null
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.