public class DotResourceTypeDefinition extends Object implements ResourceTypeDefinition
| Constructor and Description |
|---|
DotResourceTypeDefinition() |
DotResourceTypeDefinition(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, waitgetDiffModepublic DotResourceTypeDefinition()
public DotResourceTypeDefinition(Category category)
public Category getCategory()
ResourceTypeDefinitionUndefined should be returnedgetCategory in interface ResourceTypeDefinitionpublic String getShortName()
ResourceTypeDefinitiongetShortName in interface ResourceTypeDefinitionpublic String getDescription()
ResourceTypeDefinitiongetDescription in interface ResourceTypeDefinitionpublic String getPrefix()
ResourceTypeDefinitiongetPrefix in interface ResourceTypeDefinitionpublic String getSuffix()
ResourceTypeDefinitiongetSuffix in interface ResourceTypeDefinitionpublic int getPriority()
ResourceTypeDefinitiongetPriority in interface ResourceTypeDefinitionpublic String getSimpleWildcardPattern()
ResourceTypeDefinitiongetSimpleWildcardPattern in interface ResourceTypeDefinitionpublic boolean accept(Path path)
ResourceTypeDefinitionaccept in interface ResourceTypeDefinitionCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.