Class ResourceLoadingSlotEntry

  • All Implemented Interfaces:
    ISlotEntry

    public class ResourceLoadingSlotEntry
    extends java.lang.Object
    implements ISlotEntry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addUri​(java.lang.String uri)
      a regular expression matching against the Resource's URIs.
      protected boolean isMatch​(org.eclipse.emf.ecore.resource.Resource resource)  
      void preInvoke()
      implementers can check their configuration and throw IllegalStateException when problems exists.
      void put​(org.eclipse.emf.mwe.core.WorkflowContext ctx, IResourceDescriptions descriptions, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
      implementers can modify the ctx (i.e.
      void setSlot​(java.lang.String slot)
      the WorkflowContext's slot to store the found Resources in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceLoadingSlotEntry

        public ResourceLoadingSlotEntry()
    • Method Detail

      • setSlot

        public void setSlot​(java.lang.String slot)
        the WorkflowContext's slot to store the found Resources in.
      • addUri

        public void addUri​(java.lang.String uri)
        a regular expression matching against the Resource's URIs.
      • put

        public void put​(org.eclipse.emf.mwe.core.WorkflowContext ctx,
                        IResourceDescriptions descriptions,
                        org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
        Description copied from interface: ISlotEntry
        implementers can modify the ctx (i.e. add new entries based on the configuration)
        Specified by:
        put in interface ISlotEntry
        Parameters:
        ctx - - the workflow context to modify
        descriptions - - the index state
        resourceSet - - the resource set containing the loaded resources
      • isMatch

        protected boolean isMatch​(org.eclipse.emf.ecore.resource.Resource resource)
      • preInvoke

        public void preInvoke()
        Description copied from interface: ISlotEntry
        implementers can check their configuration and throw IllegalStateException when problems exists.
        Specified by:
        preInvoke in interface ISlotEntry