Package jadex.bridge

Class FactoryFilter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String anntype
      The annotation type.
      protected java.lang.String[] imports
      The imports (if any).
      protected java.lang.String model
      The model to be loaded.
      protected IResourceIdentifier rid
      The resource identifier.
      protected java.lang.String type
      The component type.
    • Constructor Summary

      Constructors 
      Constructor Description
      FactoryFilter​(java.lang.String type)
      Find a component factory for loading a specific component type.
      FactoryFilter​(java.lang.String type, boolean ann)
      Find a component factory for loading a specific component ann type.
      FactoryFilter​(java.lang.String model, java.lang.String[] imports, IResourceIdentifier rid)
      Find a matching component factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Test if equal.
      IFuture<java.lang.Boolean> filter​(IComponentFactory obj)
      Test if an object passes the filter.
      int hashCode()
      Get the hashcode.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • type

        protected java.lang.String type
        The component type.
      • anntype

        protected java.lang.String anntype
        The annotation type.
      • model

        protected java.lang.String model
        The model to be loaded.
      • imports

        protected java.lang.String[] imports
        The imports (if any).
    • Constructor Detail

      • FactoryFilter

        public FactoryFilter​(java.lang.String model,
                             java.lang.String[] imports,
                             IResourceIdentifier rid)
        Find a matching component factory.
        Parameters:
        model - The model to be loaded.
        imports - The imports (if any).
        classloader - The class loader (if any).
      • FactoryFilter

        public FactoryFilter​(java.lang.String type)
        Find a component factory for loading a specific component type.
        Parameters:
        type - The component type.
      • FactoryFilter

        public FactoryFilter​(java.lang.String type,
                             boolean ann)
        Find a component factory for loading a specific component ann type.
        Parameters:
        type - The component type.
    • Method Detail

      • hashCode

        public int hashCode()
        Get the hashcode.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if equal.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object