Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.workbench.type;
 
Definition of a Resource Type
 
 public interface ResourceTypeDefinition {

    
A short name of the resource type

Returns:
the short name
    public String getShortName();

    
A description of the resource type

Returns:
the description
    public String getDescription();

    
Resource prefix

Returns:
the prefix
    public String getPrefix();

    
Resource suffix

Returns:
the prefix
    public String getSuffix();

    
Defines the resource priority in terms of resource resolution

Returns:
the priority
    public int getPriority();

    
A simple (and maybe not very accurate) wildcard pattern to search for this type of resource. This is only used in order to optimize index and search.

Returns:
the wildcard pattern
    public String getSimpleWildcardPattern();

    
Indicates if the current parameter path matched the current resource type

Returns:
true if matches, otherwise false
    boolean acceptfinal Path path );
New to GrepCode? Check out our FAQ X