Class ArtifactInfoContext
- java.lang.Object
-
- org.apache.ofbiz.minilang.artifact.ArtifactInfoContext
-
public final class ArtifactInfoContext extends java.lang.Object
An object used for gathering artifact information.
-
-
Constructor Summary
Constructors Constructor Description ArtifactInfoContext()
-
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 visitedSimpleMethod
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)
Returnstrue
if this context has visitedmethod
.
-
-
-
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 visitedSimpleMethod
to this context.- Parameters:
method
- theSimpleMethod
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)
Returnstrue
if this context has visitedmethod
.- Parameters:
method
- TheSimpleMethod
to test- Returns:
true
if this context has visitedmethod
-
-