org.apache.avalon.tools.model
Class ResourceRef
java.lang.Object
org.apache.avalon.tools.model.ResourceRef
- public class ResourceRef
- extends Object
Delcaration of a repository resource reference.
- Version:
- $Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
- Author:
- Avalon Development Team
Field Summary |
static int |
ANY
|
static int |
API
|
static int |
IMPL
|
static int |
SPI
|
ANY
public static final int ANY
- See Also:
- Constant Field Values
API
public static final int API
- See Also:
- Constant Field Values
SPI
public static final int SPI
- See Also:
- Constant Field Values
IMPL
public static final int IMPL
- See Also:
- Constant Field Values
ResourceRef
public ResourceRef(String key)
ResourceRef
public ResourceRef(String key,
Policy policy,
int tag)
getCategory
public static int getCategory(String category)
getCategoryName
public static String getCategoryName(int category)
getKey
public String getKey()
getTag
public int getTag()
getPolicy
public Policy getPolicy()
matches
public boolean matches(int category)
equals
public boolean equals(Object other)
toString
public String toString()