public class AnyResourceTypeDefinition extends Object implements ResourceTypeDefinition
Constructor and Description |
---|
AnyResourceTypeDefinition() |
AnyResourceTypeDefinition(Category category) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Path path)
Indicates if the current parameter path matched the current resource type
|
Category |
getCategory()
Defines the category for each resource.
|
String |
getDescription()
A description of the resource type
|
String |
getPrefix()
Resource prefix
|
int |
getPriority()
Defines the resource priority in terms of resource resolution
|
String |
getShortName()
A short name of the resource type
|
String |
getSimpleWildcardPattern()
A simple (and maybe not very accurate) wildcard pattern to search for
this type of resource.
|
String |
getSuffix()
Resource suffix
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDiffMode
public AnyResourceTypeDefinition()
public AnyResourceTypeDefinition(Category category)
public String getShortName()
ResourceTypeDefinition
getShortName
in interface ResourceTypeDefinition
public String getDescription()
ResourceTypeDefinition
getDescription
in interface ResourceTypeDefinition
public String getPrefix()
ResourceTypeDefinition
getPrefix
in interface ResourceTypeDefinition
public String getSuffix()
ResourceTypeDefinition
getSuffix
in interface ResourceTypeDefinition
public int getPriority()
ResourceTypeDefinition
getPriority
in interface ResourceTypeDefinition
public String getSimpleWildcardPattern()
ResourceTypeDefinition
getSimpleWildcardPattern
in interface ResourceTypeDefinition
public boolean accept(Path path)
ResourceTypeDefinition
accept
in interface ResourceTypeDefinition
public Category getCategory()
ResourceTypeDefinition
Undefined
should be returnedgetCategory
in interface ResourceTypeDefinition
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.