Class ArtifactInfoContext

java.lang.Object
org.apache.ofbiz.minilang.artifact.ArtifactInfoContext

public final class ArtifactInfoContext extends Object
An object used for gathering artifact information.
  • Constructor Details

    • ArtifactInfoContext

      public ArtifactInfoContext()
  • Method Details

    • addEntityName

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

      public void addServiceName(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 Set<String> getEntityNames()
      Returns the entity names in this context.
      Returns:
      The entity names in this context
    • getServiceNames

      public Set<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