Class AbstractPersistenceSemanticSequencer

  • All Implemented Interfaces:
    org.eclipse.xtext.serializer.sequencer.ISemanticSequencer
    Direct Known Subclasses:
    PersistenceSemanticSequencer

    public abstract class AbstractPersistenceSemanticSequencer
    extends org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        genericSequencer, genericSequencerProvider
      • Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sequence​(org.eclipse.xtext.serializer.ISerializationContext context, org.eclipse.emf.ecore.EObject semanticObject)  
      protected void sequence_AllConfig​(org.eclipse.xtext.serializer.ISerializationContext context, AllConfig semanticObject)
      Contexts: AllConfig returns AllConfig Constraint: {AllConfig}
      protected void sequence_CronStrategy​(org.eclipse.xtext.serializer.ISerializationContext context, CronStrategy semanticObject)
      Contexts: Strategy returns CronStrategy CronStrategy returns CronStrategy Constraint: (name=ID cronExpression=STRING)
      protected void sequence_Filter​(org.eclipse.xtext.serializer.ISerializationContext context, Filter semanticObject)
      Contexts: Filter returns Filter Constraint: (name=ID definition=FilterDetails)
      protected void sequence_GroupConfig​(org.eclipse.xtext.serializer.ISerializationContext context, GroupConfig semanticObject)
      Contexts: GroupConfig returns GroupConfig Constraint: group=ID
      protected void sequence_ItemConfig​(org.eclipse.xtext.serializer.ISerializationContext context, ItemConfig semanticObject)
      Contexts: ItemConfig returns ItemConfig Constraint: item=ID
      protected void sequence_PersistenceConfiguration​(org.eclipse.xtext.serializer.ISerializationContext context, PersistenceConfiguration semanticObject)
      Contexts: PersistenceConfiguration returns PersistenceConfiguration Constraint: ( (items+=AllConfig | items+=ItemConfig | items+=GroupConfig) items+=AllConfig? ((items+=ItemConfig | items+=GroupConfig)? items+=AllConfig?)* alias=STRING? (strategies+=[Strategy|ID] strategies+=[Strategy|ID]*)? (filters+=[Filter|ID] filters+=[Filter|ID]*)? )
      protected void sequence_PersistenceModel​(org.eclipse.xtext.serializer.ISerializationContext context, PersistenceModel semanticObject)
      Contexts: PersistenceModel returns PersistenceModel Constraint: (strategies+=Strategy* (defaults+=[Strategy|ID] defaults+=[Strategy|ID]*)? filters+=Filter* configs+=PersistenceConfiguration*)
      protected void sequence_Strategy​(org.eclipse.xtext.serializer.ISerializationContext context, Strategy semanticObject)
      Contexts: Strategy returns Strategy Constraint: name=ID
      protected void sequence_ThresholdFilter​(org.eclipse.xtext.serializer.ISerializationContext context, ThresholdFilter semanticObject)
      Contexts: FilterDetails returns ThresholdFilter ThresholdFilter returns ThresholdFilter Constraint: (value=DECIMAL percent?='%')
      protected void sequence_TimeFilter​(org.eclipse.xtext.serializer.ISerializationContext context, TimeFilter semanticObject)
      Contexts: FilterDetails returns TimeFilter TimeFilter returns TimeFilter Constraint: (value=INT (unit='s' | unit='m' | unit='h' | unit='d'))
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        init
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
    • Constructor Detail

      • AbstractPersistenceSemanticSequencer

        public AbstractPersistenceSemanticSequencer()
    • Method Detail

      • sequence

        public void sequence​(org.eclipse.xtext.serializer.ISerializationContext context,
                             org.eclipse.emf.ecore.EObject semanticObject)
        Overrides:
        sequence in class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
      • sequence_AllConfig

        protected void sequence_AllConfig​(org.eclipse.xtext.serializer.ISerializationContext context,
                                          AllConfig semanticObject)
        Contexts: AllConfig returns AllConfig Constraint: {AllConfig}
      • sequence_CronStrategy

        protected void sequence_CronStrategy​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             CronStrategy semanticObject)
        Contexts: Strategy returns CronStrategy CronStrategy returns CronStrategy Constraint: (name=ID cronExpression=STRING)
      • sequence_Filter

        protected void sequence_Filter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                       Filter semanticObject)
        Contexts: Filter returns Filter Constraint: (name=ID definition=FilterDetails)
      • sequence_GroupConfig

        protected void sequence_GroupConfig​(org.eclipse.xtext.serializer.ISerializationContext context,
                                            GroupConfig semanticObject)
        Contexts: GroupConfig returns GroupConfig Constraint: group=ID
      • sequence_ItemConfig

        protected void sequence_ItemConfig​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           ItemConfig semanticObject)
        Contexts: ItemConfig returns ItemConfig Constraint: item=ID
      • sequence_PersistenceConfiguration

        protected void sequence_PersistenceConfiguration​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                         PersistenceConfiguration semanticObject)
        Contexts: PersistenceConfiguration returns PersistenceConfiguration Constraint: ( (items+=AllConfig | items+=ItemConfig | items+=GroupConfig) items+=AllConfig? ((items+=ItemConfig | items+=GroupConfig)? items+=AllConfig?)* alias=STRING? (strategies+=[Strategy|ID] strategies+=[Strategy|ID]*)? (filters+=[Filter|ID] filters+=[Filter|ID]*)? )
      • sequence_PersistenceModel

        protected void sequence_PersistenceModel​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                 PersistenceModel semanticObject)
        Contexts: PersistenceModel returns PersistenceModel Constraint: (strategies+=Strategy* (defaults+=[Strategy|ID] defaults+=[Strategy|ID]*)? filters+=Filter* configs+=PersistenceConfiguration*)
      • sequence_Strategy

        protected void sequence_Strategy​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         Strategy semanticObject)
        Contexts: Strategy returns Strategy Constraint: name=ID
      • sequence_ThresholdFilter

        protected void sequence_ThresholdFilter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                ThresholdFilter semanticObject)
        Contexts: FilterDetails returns ThresholdFilter ThresholdFilter returns ThresholdFilter Constraint: (value=DECIMAL percent?='%')
      • sequence_TimeFilter

        protected void sequence_TimeFilter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           TimeFilter semanticObject)
        Contexts: FilterDetails returns TimeFilter TimeFilter returns TimeFilter Constraint: (value=INT (unit='s' | unit='m' | unit='h' | unit='d'))