Class ArtifactInfoContext


  • public final class ArtifactInfoContext
    extends java.lang.Object
    An object used for gathering artifact information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEntityName​(java.lang.String name)
      Adds an entity name to this context.
      void addServiceName​(java.lang.String name)
      Adds a service name to this context.
      void addSimpleMethod​(SimpleMethod method)
      Adds a visited SimpleMethod to this context.
      java.util.Set<java.lang.String> getEntityNames()
      Returns the entity names in this context.
      java.util.Set<java.lang.String> getServiceNames()
      Returns the service names in this context.
      boolean hasVisited​(SimpleMethod method)
      Returns true if this context has visited method.
      • Methods inherited from class java.lang.Object

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

      • ArtifactInfoContext

        public ArtifactInfoContext()
    • Method Detail

      • addEntityName

        public void addEntityName​(java.lang.String name)
        Adds an entity name to this context.
        Parameters:
        name - The entity name to add to this context
      • addServiceName

        public void addServiceName​(java.lang.String name)
        Adds a service name to this context.
        Parameters:
        name - The service name to add to this context
      • addSimpleMethod

        public void addSimpleMethod​(SimpleMethod method)
        Adds a visited SimpleMethod to this context.
        Parameters:
        method - the SimpleMethod to add to this context
      • getEntityNames

        public java.util.Set<java.lang.String> getEntityNames()
        Returns the entity names in this context.
        Returns:
        The entity names in this context
      • getServiceNames

        public java.util.Set<java.lang.String> getServiceNames()
        Returns the service names in this context.
        Returns:
        The service names in this context
      • hasVisited

        public boolean hasVisited​(SimpleMethod method)
        Returns true if this context has visited method.
        Parameters:
        method - The SimpleMethod to test
        Returns:
        true if this context has visited method