io.sarl.lang.compiler
Class DefaultResourceTypeDetector
All Superinterfaces:
IResourceTypeDetector
class DefaultResourceTypeDetector
extends AbstractResourceTypeDetector
Detect the type of a folder.

A resource may be inside a standard source folder or a folder that is dedicated to test code. Detecting in which case a resource is the purpose of this interface.

This detector does not make any assumption on the proejct structure. Consequently, it cannot detect the type of the resource.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.8
See:
FOLDER_TEST_SOURCE_SARL , FOLDER_TEST_SOURCE_GENERATED
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
java.lang.Boolean isTestResource(Resource)
Constructor Details
new
new
Action Details
isTestResource(Resource)
def isTestResource(Resource) : java.lang.Boolean